2525 - ' 1.11'
2626 - ' nightly'
2727 os :
28- - ubuntu-20 .04
28+ - ubuntu-24 .04
2929 - macOS-latest
3030 - windows-latest
3131 arch :
@@ -38,17 +38,17 @@ jobs:
3838 arch : x64
3939 libEnzyme : local
4040 include :
41- - os : ubuntu-20 .04
41+ - os : ubuntu-24 .04
4242 arch : x86
4343 libEnzyme : packaged
4444 version : ' 1.10'
4545 assertions : false
46- - os : ubuntu-20 .04
46+ - os : ubuntu-24 .04
4747 arch : x64
4848 libEnzyme : packaged
4949 version : ' 1.10'
5050 assertions : true
51- - os : ubuntu-20 .04
51+ - os : ubuntu-24 .04
5252 arch : x64
5353 libEnzyme : packaged
5454 version : ' 1.11'
7272 sed -i.bak 's/exit 2/exit 0/g' julia/deps/tools/jlchecksum
7373 make -C julia -j $(nproc) FORCE_ASSERTIONS=1 LLVM_ASSERTIONS=1 JULIA_PRECOMPILE=0
7474 echo $PWD/julia/usr/bin >> $GITHUB_PATH
75- - uses : actions/cache@v2
76- env :
77- cache-name : cache-artifacts
78- with :
79- path : ~/.julia/artifacts
80- key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
81- restore-keys : |
82- ${{ runner.os }}-test-${{ env.cache-name }}-
83- ${{ runner.os }}-test-
84- ${{ runner.os }}-
75+ - uses : julia-actions/cache@v2
8576 - name : add EnzymeCore
8677 shell : julia --color=yes --project=. {0}
8778 run : |
@@ -95,16 +86,16 @@ jobs:
9586 continue-on-error : ${{ matrix.version == 'nightly' }}
9687 id : build_libenzyme
9788 run : |
98- julia --project=deps -e 'using Pkg; Pkg.instantiate()'
99- julia --project=deps deps/build_local.jl
89+ julia --color=yes -- project=deps -e 'using Pkg; Pkg.instantiate()'
90+ julia --color=yes -- project=deps deps/build_local.jl
10091 cp LocalPreferences.toml test/
10192 - name : Build libEnzyme MacOS
10293 if : ${{ matrix.libEnzyme == 'local' && matrix.os == 'macOS-latest'}}
10394 continue-on-error : ${{ matrix.version == 'nightly' }}
10495 id : build_libenzyme_mac
10596 run : |
106- julia --project=deps -e 'using Pkg; Pkg.instantiate()'
107- SDKROOT=`xcrun --show-sdk-path` julia --project=deps deps/build_local.jl
97+ julia --color=yes -- project=deps -e 'using Pkg; Pkg.instantiate()'
98+ SDKROOT=`xcrun --show-sdk-path` julia --color=yes -- project=deps deps/build_local.jl
10899 cp LocalPreferences.toml test/
109100 - uses : julia-actions/julia-buildpkg@v1
110101 if : matrix.version != 'nightly' || steps.build_libenzyme.outcome == 'success' || steps.build_libenzyme_mac.outcome == 'success'
@@ -120,10 +111,10 @@ jobs:
120111 JULIA_PKG_SERVER_REGISTRY_PREFERENCE : eager
121112 - uses : julia-actions/julia-processcoverage@v1
122113 if : matrix.version != 'nightly' || steps.run_tests.outcome == 'success'
123- - uses : codecov/codecov-action@v4
114+ - uses : codecov/codecov-action@v5
124115 if : matrix.version != 'nightly' || steps.run_tests.outcome == 'success'
125116 with :
126- file : lcov.info
117+ files : lcov.info
127118 token : ${{ secrets.CODECOV_TOKEN }}
128119 fail_ci_if_error : false # or true if you want CI to fail when Codecov fails
129120 enzymetestutils :
@@ -150,16 +141,7 @@ jobs:
150141 with :
151142 version : ${{ matrix.version }}
152143 arch : ${{ matrix.arch }}
153- - uses : actions/cache@v2
154- env :
155- cache-name : cache-artifacts
156- with :
157- path : ~/.julia/artifacts
158- key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
159- restore-keys : |
160- ${{ runner.os }}-test-${{ env.cache-name }}-
161- ${{ runner.os }}-test-
162- ${{ runner.os }}-
144+ - uses : julia-actions/cache@v2
163145 - name : setup EnzymeTestUtils
164146 shell : julia --color=yes {0}
165147 id : setup_testutils
@@ -182,7 +164,7 @@ jobs:
182164 if : matrix.version != 'nightly' || steps.run_tests.outcome == 'success'
183165 with :
184166 directories : lib/EnzymeTestUtils/src
185- - uses : codecov/codecov-action@v4
167+ - uses : codecov/codecov-action@v5
186168 if : matrix.version != 'nightly' || steps.run_tests.outcome == 'success'
187169 with :
188170 files : lcov.info
@@ -212,16 +194,7 @@ jobs:
212194 with :
213195 version : ${{ matrix.version }}
214196 arch : ${{ matrix.arch }}
215- - uses : actions/cache@v2
216- env :
217- cache-name : cache-artifacts
218- with :
219- path : ~/.julia/artifacts
220- key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
221- restore-keys : |
222- ${{ runner.os }}-test-${{ env.cache-name }}-
223- ${{ runner.os }}-test-
224- ${{ runner.os }}-
197+ - uses : julia-actions/cache@v2
225198 - name : setup EnzymeCore
226199 shell : julia --color=yes {0}
227200 id : setup_testutils
@@ -244,7 +217,7 @@ jobs:
244217 if : matrix.version != 'nightly' || steps.run_tests.outcome == 'success'
245218 with :
246219 directories : lib/EnzymeCore/src
247- - uses : codecov/codecov-action@v4
220+ - uses : codecov/codecov-action@v5
248221 if : matrix.version != 'nightly' || steps.run_tests.outcome == 'success'
249222 with :
250223 files : lcov.info
@@ -287,19 +260,18 @@ jobs:
287260 version : ' 1'
288261 - uses : julia-actions/cache@v2
289262 - run : |
290- julia --project=docs -e '
263+ julia --color=yes -- project=docs -e '
291264 using Pkg
292- Pkg.develop([PackageSpec(path="lib/EnzymeCore"), PackageSpec(path="lib/EnzymeTestUtils"), PackageSpec(path=pwd())])
293265 Pkg.instantiate()'
294266 env:
295267 JULIA_PKG_SERVER_REGISTRY_PREFERENCE: eager
296268 - run : |
297- julia --project=docs -e '
269+ julia --color=yes -- project=docs -e '
298270 using Documenter: DocMeta, doctest
299271 using Enzyme
300272 DocMeta.setdocmeta!(Enzyme, :DocTestSetup, :(using Enzyme); recursive=true)
301273 doctest(Enzyme)'
302- - run : julia --project=docs docs/make.jl
274+ - run : julia --color=yes -- project=docs docs/make.jl
303275 env :
304276 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
305277 DOCUMENTER_KEY : ${{ secrets.DOCUMENTER_KEY }}
0 commit comments