Skip to content

Commit dc5ebd7

Browse files
authored
[CI] Run Intel MPI jobs on ubuntu-latest (#741)
* [CI] Run Intel MPI jobs on `ubuntu-latest` * [CI] Replace deprecated `JULIA_MPI_BINARY` variable with `JULIA_MPI_TEST_BINARY` * [CI] Fix using Intel MPI in MPITrampoline tests
1 parent 2a3dfab commit dc5ebd7

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

.github/workflows/UnitTests.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ jobs:
223223

224224
fail-fast: false
225225

226-
runs-on: ubuntu-18.04 # 20.04 not supported
226+
runs-on: ubuntu-latest
227227

228228
env:
229229
JULIA_MPI_TEST_BINARY: system
@@ -539,10 +539,11 @@ jobs:
539539

540540
fail-fast: false
541541

542-
runs-on: ubuntu-18.04 # 20.04 not supported
542+
runs-on: ubuntu-latest
543543

544544
env:
545-
JULIA_MPI_BINARY: MPItrampoline_jll
545+
JULIA_MPI_TEST_BINARY: MPItrampoline_jll
546+
JULIA_MPI_TEST_ABI: MPItrampoline
546547
MPITRAMPOLINE_LIB: /usr/local/lib/libmpiwrapper.so
547548
MPITRAMPOLINE_MPIEXEC: /home/runner/intel/compilers_and_libraries_2020.4.304/linux/mpi/intel64/bin/mpiexec
548549

@@ -616,6 +617,15 @@ jobs:
616617
using Pkg
617618
Pkg.develop(path="lib/MPIPreferences")
618619
620+
- name: use MPItrampoline_jll
621+
shell: julia --color=yes --project=test {0}
622+
run: |
623+
using Pkg
624+
Pkg.develop(path="lib/MPIPreferences")
625+
using MPIPreferences
626+
MPIPreferences.use_jll_binary("MPItrampoline_jll", export_prefs=true)
627+
rm("test/Manifest.toml")
628+
619629
# We can't use the usual actions here as we need to ensure the environment variables are set
620630
- name: "Build package"
621631
run: |

0 commit comments

Comments
 (0)