File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 branches : [main]
88
99jobs :
10- smoke-test :
11- runs-on : ubuntu-22.04
10+ ci :
11+ strategy :
12+ fail-fast : false
13+ matrix :
14+ include :
15+ - runner : macos-latest
16+ julia_arch : aarch64
17+ - runner : macos-13
18+ julia_arch : x86_64
19+ - runner : ubuntu-22.04
20+ julia_arch : x64
21+ - runner : windows-latest
22+ julia_arch : x64
23+
24+ runs-on : ${{ matrix.runner }}
1225 timeout-minutes : 15
1326
1427 steps :
@@ -18,20 +31,31 @@ jobs:
1831 uses : julia-actions/setup-julia@v2
1932 with :
2033 version : " 1.12"
34+ arch : ${{ matrix.julia_arch }}
2135
2236 - name : Cache Julia depot
2337 uses : actions/cache@v4
2438 with :
2539 path : ~/.julia
26- key : julia-depot-${{ runner.os }}-${{ hashFiles('backend/Project.toml', 'backend/Manifest.toml') }}
27- restore-keys : julia-depot-${{ runner.os }}-
40+ key : julia-depot-${{ runner.os }}-${{ matrix.julia_arch }}-${{ hashFiles('backend/Project.toml', 'backend/Manifest.toml') }}
41+ restore-keys : julia-depot-${{ runner.os }}-${{ matrix.julia_arch }}-
2842
2943 - name : Instantiate Julia backend
3044 working-directory : backend
3145 run : julia --project=. -e 'using Pkg; Pkg.instantiate()'
3246
33- - name : Install jq
47+ - name : Install jq (Linux)
48+ if : runner.os == 'Linux'
3449 run : sudo apt-get install -y jq
3550
51+ - name : Install jq (macOS)
52+ if : runner.os == 'macOS'
53+ run : brew install jq
54+
55+ - name : Install jq (Windows)
56+ if : runner.os == 'Windows'
57+ run : choco install jq -y
58+
3659 - name : Run smoke test
60+ shell : bash
3761 run : ./backend/smoke-test.sh
You can’t perform that action at this time.
0 commit comments