File tree Expand file tree Collapse file tree 1 file changed +50
-2
lines changed Expand file tree Collapse file tree 1 file changed +50
-2
lines changed Original file line number Diff line number Diff line change 8
8
- master
9
9
10
10
jobs :
11
- test-jll :
11
+ test-default :
12
12
timeout-minutes : 20
13
13
strategy :
14
14
matrix :
53
53
- uses : julia-actions/julia-buildpkg@latest
54
54
- uses : julia-actions/julia-runtest@latest
55
55
56
+ test-openmpi-jll :
57
+ timeout-minutes : 20
58
+ strategy :
59
+ matrix :
60
+ os :
61
+ - macos-latest
62
+ - ubuntu-latest
63
+ - windows-latest
64
+ julia_version :
65
+ - " 1.6"
66
+ - " 1"
67
+ - " nightly"
68
+ julia_arch : [x64, x86]
69
+ exclude :
70
+ - os : macos-latest
71
+ julia_arch : x86
72
+
73
+ fail-fast : false
74
+
75
+ runs-on : ${{ matrix.os }}
76
+
77
+ steps :
78
+ - name : Cancel Previous Runs
79
+ uses : styfle/cancel-workflow-action@0.4.0
80
+ with :
81
+ access_token : ${{ github.token }}
82
+
83
+ - name : Checkout
84
+ uses : actions/checkout@v2.2.0
85
+
86
+ - uses : julia-actions/setup-julia@latest
87
+ with :
88
+ arch : ${{ matrix.julia_arch }}
89
+ version : ${{ matrix.julia_version }}
90
+ - uses : julia-actions/cache@v1
91
+
92
+ - name : add MPIPreferences, use system
93
+ shell : julia --color=yes --project=test {0}
94
+ run : |
95
+ using Pkg
96
+ Pkg.develop(path="lib/MPIPreferences")
97
+ using MPIPreferences
98
+ MPIPreferences.use_jll_binary("OpenMPI_jll", export_prefs=true)
99
+
100
+ - uses : julia-actions/julia-buildpkg@latest
101
+ - uses : julia-actions/julia-runtest@latest
56
102
57
103
test-system-brew :
58
104
timeout-minutes : 20
@@ -135,7 +181,9 @@ jobs:
135
181
uses : actions/checkout@v2.2.0
136
182
137
183
- name : Install MPI via apt
138
- run : sudo apt-get install $MPI
184
+ run : |
185
+ sudo apt-get update
186
+ sudo apt-get install $MPI
139
187
env :
140
188
MPI : ${{ matrix.mpi }}
141
189
You can’t perform that action at this time.
0 commit comments