@@ -134,8 +134,6 @@ jobs:
134
134
shell : julia --color=yes --code-coverage=user --depwarn=yes --project=. {0}
135
135
# Only in Julia v1.10 we need to install `ReactantCore` manually.
136
136
if : ${{ inputs.julia_version == '1.10' || inputs.julia_version == 'lts' }}
137
- env :
138
- JULIA_PKG_SERVER_REGISTRY_PREFERENCE : eager
139
137
140
138
# Run the tests (pjrt or ifrt or both)
141
139
- name : " Setup Runtime Preferences (PJRT)"
@@ -160,10 +158,7 @@ jobs:
160
158
shell : julia --color=yes --code-coverage=user --depwarn=yes --project=. {0}
161
159
env :
162
160
ALLOW_RERESOLVE : ${{ !inputs.downgrade_testing }}
163
- JULIA_PKG_SERVER_REGISTRY_PREFERENCE : eager
164
161
REACTANT_TEST_GROUP : ${{ inputs.test_group }}
165
- XLA_FLAGS : " --xla_force_host_platform_device_count=12"
166
- JULIA_DEBUG : " Reactant,Reactant_jll"
167
162
168
163
- name : " Setup Runtime Preferences (IFRT)"
169
164
if : ${{ inputs.runtime == 'ifrt' || inputs.runtime == 'both' }}
@@ -187,23 +182,20 @@ jobs:
187
182
shell : julia --color=yes --code-coverage=user --depwarn=yes --project=. {0}
188
183
env :
189
184
ALLOW_RERESOLVE : ${{ !inputs.downgrade_testing }}
190
- JULIA_PKG_SERVER_REGISTRY_PREFERENCE : eager
191
185
REACTANT_TEST_GROUP : ${{ inputs.test_group }}
192
- XLA_FLAGS : " --xla_force_host_platform_device_count=12"
193
- JULIA_DEBUG : " Reactant,Reactant_jll"
194
186
195
187
- name : " Upload MLIR modules"
196
188
uses : actions/upload-artifact@v4
197
189
timeout-minutes : 10
198
- if : ${{ always() }}
190
+ if : always()
199
191
with :
200
192
name : " mlir-${{ inputs.julia_version }}-${{ inputs.os }}-${{ inputs.runtime }}-assertions=${{ inputs.assertions }}-${{ github.event_name }}-test_group=${{ inputs.test_group }}-${{ inputs.localjll }}"
201
193
path : " **/*.mlir"
202
194
retention-days : 90
203
195
overwrite : false
204
196
205
197
- name : Save Julia depot cache on cancel or failure
206
- if : ${{ inputs.localjll && ( cancelled() || failure()) }}
198
+ if : cancelled() || failure()
207
199
uses : actions/cache/save@v4
208
200
with :
209
201
path : |
@@ -215,3 +207,8 @@ jobs:
215
207
with :
216
208
files : lcov.info
217
209
token : ${{ secrets.CODECOV_TOKEN }}
210
+
211
+ env :
212
+ JULIA_PKG_SERVER_REGISTRY_PREFERENCE : eager
213
+ XLA_FLAGS : " --xla_force_host_platform_device_count=12"
214
+ JULIA_DEBUG : " Reactant,Reactant_jll"
0 commit comments