Skip to content

Commit 582bab4

Browse files
committed
CI: Test MPIABI_jll
1 parent 93e5fa1 commit 582bab4

1 file changed

Lines changed: 51 additions & 0 deletions

File tree

.github/workflows/UnitTests.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,55 @@ jobs:
7878
env:
7979
COVERALLS_TOKEN: ${{ secrets.COVERALLS_TOKEN }}
8080

81+
82+
test-mpiabi-jll:
83+
timeout-minutes: 20
84+
strategy:
85+
matrix:
86+
os:
87+
- macos-15-intel
88+
- ubuntu-latest
89+
julia_version:
90+
- "min"
91+
- "1"
92+
- "nightly"
93+
julia_arch: [x64]
94+
95+
fail-fast: false
96+
env:
97+
JULIA_MPI_TEST_BINARY: MPIABI_jll
98+
JULIA_MPI_TEST_ABI: MPIABI
99+
100+
runs-on: ${{ matrix.os }}
101+
102+
steps:
103+
- name: Checkout
104+
uses: actions/checkout@v6
105+
106+
- uses: julia-actions/setup-julia@v2
107+
with:
108+
arch: ${{ matrix.julia_arch }}
109+
version: ${{ matrix.julia_version }}
110+
- uses: julia-actions/cache@v2
111+
112+
- name: add MPIPreferences
113+
shell: julia --color=yes --project=. {0}
114+
run: |
115+
using Pkg
116+
Pkg.develop(path="lib/MPIPreferences")
117+
118+
- name: use OpenMPI_jll
119+
shell: julia --color=yes --project=test {0}
120+
run: |
121+
using Pkg
122+
Pkg.develop(path="lib/MPIPreferences")
123+
using MPIPreferences
124+
MPIPreferences.use_jll_binary("MPIABI_jll", export_prefs=true)
125+
rm("test/Manifest.toml")
126+
127+
- uses: julia-actions/julia-runtest@v1
128+
129+
81130
test-openmpi-jll:
82131
timeout-minutes: 20
83132
strategy:
@@ -129,6 +178,7 @@ jobs:
129178
130179
- uses: julia-actions/julia-runtest@v1
131180

181+
132182
test-system-brew:
133183
timeout-minutes: 20
134184
strategy:
@@ -241,6 +291,7 @@ jobs:
241291
242292
- uses: julia-actions/julia-runtest@v1
243293

294+
244295
test-intel-linux:
245296
timeout-minutes: 20
246297
strategy:

0 commit comments

Comments
 (0)