Skip to content

Commit b403dce

Browse files
committed
try a macos runner (sorry)
1 parent a573501 commit b403dce

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/Enzyme.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,28 @@ concurrency:
1818

1919
jobs:
2020
enzyme:
21-
runs-on: ubuntu-latest
21+
runs-on: macos-latest
2222
steps:
2323
- uses: actions/checkout@v5
2424

2525
- uses: julia-actions/setup-julia@v2
2626
with:
27-
version: "1.11.6"
27+
version: "1.11"
2828

2929
- uses: julia-actions/cache@v2
30+
id: julia-cache
3031

3132
- name: Run AD with Enzyme on demo models
3233
working-directory: test/integration/enzyme
3334
run: |
3435
julia --project=. --color=yes -e 'using Pkg; Pkg.instantiate()'
3536
julia --project=. --color=yes main.jl
37+
38+
- name: Save Julia depot cache on cancel or failure
39+
id: julia-cache-save
40+
if: cancelled() || failure()
41+
uses: actions/cache/save@v4
42+
with:
43+
path: |
44+
${{ steps.julia-cache.outputs.cache-paths }}
45+
key: ${{ steps.julia-cache.outputs.cache-key }}

0 commit comments

Comments
 (0)