25
25
- ' 1.11'
26
26
- ' nightly'
27
27
os :
28
- - ubuntu-20 .04
28
+ - ubuntu-24 .04
29
29
- macOS-latest
30
30
- windows-latest
31
31
arch :
@@ -38,17 +38,17 @@ jobs:
38
38
arch : x64
39
39
libEnzyme : local
40
40
include :
41
- - os : ubuntu-20 .04
41
+ - os : ubuntu-24 .04
42
42
arch : x86
43
43
libEnzyme : packaged
44
44
version : ' 1.10'
45
45
assertions : false
46
- - os : ubuntu-20 .04
46
+ - os : ubuntu-24 .04
47
47
arch : x64
48
48
libEnzyme : packaged
49
49
version : ' 1.10'
50
50
assertions : true
51
- - os : ubuntu-20 .04
51
+ - os : ubuntu-24 .04
52
52
arch : x64
53
53
libEnzyme : packaged
54
54
version : ' 1.11'
72
72
sed -i.bak 's/exit 2/exit 0/g' julia/deps/tools/jlchecksum
73
73
make -C julia -j $(nproc) FORCE_ASSERTIONS=1 LLVM_ASSERTIONS=1 JULIA_PRECOMPILE=0
74
74
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
85
76
- name : add EnzymeCore
86
77
shell : julia --color=yes --project=. {0}
87
78
run : |
@@ -95,16 +86,16 @@ jobs:
95
86
continue-on-error : ${{ matrix.version == 'nightly' }}
96
87
id : build_libenzyme
97
88
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
100
91
cp LocalPreferences.toml test/
101
92
- name : Build libEnzyme MacOS
102
93
if : ${{ matrix.libEnzyme == 'local' && matrix.os == 'macOS-latest'}}
103
94
continue-on-error : ${{ matrix.version == 'nightly' }}
104
95
id : build_libenzyme_mac
105
96
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
108
99
cp LocalPreferences.toml test/
109
100
- uses : julia-actions/julia-buildpkg@v1
110
101
if : matrix.version != 'nightly' || steps.build_libenzyme.outcome == 'success' || steps.build_libenzyme_mac.outcome == 'success'
@@ -120,10 +111,10 @@ jobs:
120
111
JULIA_PKG_SERVER_REGISTRY_PREFERENCE : eager
121
112
- uses : julia-actions/julia-processcoverage@v1
122
113
if : matrix.version != 'nightly' || steps.run_tests.outcome == 'success'
123
- - uses : codecov/codecov-action@v4
114
+ - uses : codecov/codecov-action@v5
124
115
if : matrix.version != 'nightly' || steps.run_tests.outcome == 'success'
125
116
with :
126
- file : lcov.info
117
+ files : lcov.info
127
118
token : ${{ secrets.CODECOV_TOKEN }}
128
119
fail_ci_if_error : false # or true if you want CI to fail when Codecov fails
129
120
enzymetestutils :
@@ -150,16 +141,7 @@ jobs:
150
141
with :
151
142
version : ${{ matrix.version }}
152
143
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
163
145
- name : setup EnzymeTestUtils
164
146
shell : julia --color=yes {0}
165
147
id : setup_testutils
@@ -182,7 +164,7 @@ jobs:
182
164
if : matrix.version != 'nightly' || steps.run_tests.outcome == 'success'
183
165
with :
184
166
directories : lib/EnzymeTestUtils/src
185
- - uses : codecov/codecov-action@v4
167
+ - uses : codecov/codecov-action@v5
186
168
if : matrix.version != 'nightly' || steps.run_tests.outcome == 'success'
187
169
with :
188
170
files : lcov.info
@@ -212,16 +194,7 @@ jobs:
212
194
with :
213
195
version : ${{ matrix.version }}
214
196
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
225
198
- name : setup EnzymeCore
226
199
shell : julia --color=yes {0}
227
200
id : setup_testutils
@@ -244,7 +217,7 @@ jobs:
244
217
if : matrix.version != 'nightly' || steps.run_tests.outcome == 'success'
245
218
with :
246
219
directories : lib/EnzymeCore/src
247
- - uses : codecov/codecov-action@v4
220
+ - uses : codecov/codecov-action@v5
248
221
if : matrix.version != 'nightly' || steps.run_tests.outcome == 'success'
249
222
with :
250
223
files : lcov.info
@@ -287,19 +260,18 @@ jobs:
287
260
version : ' 1'
288
261
- uses : julia-actions/cache@v2
289
262
- run : |
290
- julia --project=docs -e '
263
+ julia --color=yes -- project=docs -e '
291
264
using Pkg
292
- Pkg.develop([PackageSpec(path="lib/EnzymeCore"), PackageSpec(path="lib/EnzymeTestUtils"), PackageSpec(path=pwd())])
293
265
Pkg.instantiate()'
294
266
env:
295
267
JULIA_PKG_SERVER_REGISTRY_PREFERENCE: eager
296
268
- run : |
297
- julia --project=docs -e '
269
+ julia --color=yes -- project=docs -e '
298
270
using Documenter: DocMeta, doctest
299
271
using Enzyme
300
272
DocMeta.setdocmeta!(Enzyme, :DocTestSetup, :(using Enzyme); recursive=true)
301
273
doctest(Enzyme)'
302
- - run : julia --project=docs docs/make.jl
274
+ - run : julia --color=yes -- project=docs docs/make.jl
303
275
env :
304
276
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
305
277
DOCUMENTER_KEY : ${{ secrets.DOCUMENTER_KEY }}
0 commit comments