28
28
fail-fast : false
29
29
30
30
runs-on : ${{ matrix.os }}
31
- env :
32
- JULIA_MPIEXEC_ARGS : ${{ matrix.mpiexec_args }}
33
31
34
32
steps :
35
33
- name : Cancel Previous Runs
@@ -44,25 +42,14 @@ jobs:
44
42
with :
45
43
arch : ${{ matrix.julia_arch }}
46
44
version : ${{ matrix.julia_version }}
47
-
48
- # https://discourse.julialang.org/t/recommendation-cache-julia-artifacts-in-ci-services/35484
49
- - name : Cache artifacts
50
- uses : actions/cache@v1
51
- env :
52
- cache-name : cache-artifacts
53
- with :
54
- path : ~/.julia/artifacts
55
- key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
56
- restore-keys : |
57
- ${{ runner.os }}-test-${{ env.cache-name }}-
58
- ${{ runner.os }}-test-
59
- ${{ runner.os }}-
45
+ - uses : julia-actions/cache@v1
60
46
61
47
- name : add MPIPreferences
62
48
shell : julia --color=yes --project=. {0}
63
49
run : |
64
50
using Pkg
65
51
Pkg.develop(path="lib/MPIPreferences")
52
+
66
53
- uses : julia-actions/julia-buildpkg@latest
67
54
- uses : julia-actions/julia-runtest@latest
68
55
@@ -164,26 +151,21 @@ jobs:
164
151
with :
165
152
version : ${{ matrix.julia_version }}
166
153
167
- # https://discourse.julialang.org/t/recommendation-cache-julia-artifacts-in-ci-services/35484
168
- - name : Cache artifacts
169
- uses : actions/cache@v1
170
- env :
171
- cache-name : cache-artifacts
172
- with :
173
- path : ~/.julia/artifacts
174
- key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
175
- restore-keys : |
176
- ${{ runner.os }}-test-${{ env.cache-name }}-
177
- ${{ runner.os }}-test-
178
- ${{ runner.os }}-
179
- - name : " add MPIPreferences"
180
- run : julia --project -e 'using Pkg; Pkg.develop(path="lib/MPIPreferences")'
181
- - name : " Use system binary"
182
- run : julia --project -e 'using MPIPreferences; MPIPreferences.use_system_binary()'
154
+ - uses : julia-actions/cache@v1
155
+
156
+ - name : add MPIPreferences
157
+ shell : julia --color=yes --project=. {0}
158
+ run : |
159
+ using Pkg
160
+ Pkg.develop(path="lib/MPIPreferences")
161
+ - name : Use system binary
162
+ shell : julia --color=yes --project=. {0}
163
+ run : |
164
+ using MPIPreferences
165
+ MPIPreferences.use_system_binary()
183
166
- uses : julia-actions/julia-buildpkg@latest
184
167
- uses : julia-actions/julia-runtest@latest
185
168
186
-
187
169
test-intel-linux :
188
170
timeout-minutes : 20
189
171
strategy :
0 commit comments