-
Notifications
You must be signed in to change notification settings - Fork 8
57 lines (45 loc) · 1.57 KB
/
nix-linux.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: "nix-linux"
on:
push:
branches:
- main
pull_request:
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Nix Flake Show
run: nix flake show
- name: Check Julia Version
run: nix develop --show-trace --command -- julia --version
- name: Build julia2nix with nix develop
run: nix develop --show-trace --command -- init
- name: Build JuliaDoc
run: nix run -Lv ./nix/std#x86_64-linux.julia2nix.entrypoints.mkdoc docs
- name: Check Template Shells
run: |
nix develop ./templates/dev --show-trace --override-input julia2nix ./. --command -- julia --version
- name: Check julia2nix tests
run: |
nix develop --show-trace --command -- mktest
- name: Build Julia Wrapped
run: |
nix run .#packages.x86_64-linux.julia-wrapped --print-build-logs -- --version
- name: Build Depot Path
run: |
nix build .#packages.x86_64-linux.build-depot --print-build-logs
- name: Build Julia2Project and write julia2nix.toml
run: |
nix -Lv develop --command buildProject
- name: Build jlrs -> call_julia
run: |
nix develop ./templates/jlrs --override-input julia2nix ./. --show-trace --command -- call-julia
- name: Deploy
uses: JamesIves/[email protected]
if: ${{ github.event_name == 'push' }}
with:
branch: gh-pages
folder: ./docs/build