@@ -354,7 +354,7 @@ jobs:
354
354
using Pkg
355
355
Pkg.develop(path="lib/MPIPreferences")
356
356
357
- - name : use OpenMPI_jll
357
+ - name : use MPItrampoline_jll
358
358
shell : julia --color=yes --project=test {0}
359
359
run : |
360
360
using Pkg
@@ -505,7 +505,7 @@ jobs:
505
505
- libmpich-dev
506
506
- libopenmpi-dev
507
507
julia_version :
508
- - " 1.6 "
508
+ - " 1"
509
509
# We don't need to test all combinations
510
510
# - "1.7"
511
511
# - "nightly"
@@ -515,7 +515,8 @@ jobs:
515
515
runs-on : ubuntu-20.04
516
516
517
517
env :
518
- JULIA_MPI_BINARY : MPItrampoline_jll
518
+ JULIA_MPI_TEST_BINARY : MPItrampoline_jll
519
+ JULIA_MPI_TEST_ABI : MPIwrapper
519
520
MPITRAMPOLINE_LIB : /usr/local/lib/libmpiwrapper.so
520
521
MPITRAMPOLINE_MPIEXEC : /usr/bin/mpiexec
521
522
OMPI_MCA_btl_base_warn_component_unused : 0
@@ -542,18 +543,22 @@ jobs:
542
543
with :
543
544
version : ${{ matrix.julia_version }}
544
545
545
- # https://discourse.julialang.org/t/recommendation-cache-julia-artifacts-in-ci-services/35484
546
- - name : Cache artifacts
547
- uses : actions/cache@v1
548
- env :
549
- cache-name : cache-artifacts
550
- with :
551
- path : ~/.julia/artifacts
552
- key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
553
- restore-keys : |
554
- ${{ runner.os }}-test-${{ env.cache-name }}-
555
- ${{ runner.os }}-test-
556
- ${{ runner.os }}-
546
+ - uses : julia-actions/cache@v1
547
+
548
+ - name : add MPIPreferences
549
+ shell : julia --color=yes --project=. {0}
550
+ run : |
551
+ using Pkg
552
+ Pkg.develop(path="lib/MPIPreferences")
553
+
554
+ - name : use MPItrampoline_jll
555
+ shell : julia --color=yes --project=test {0}
556
+ run : |
557
+ using Pkg
558
+ Pkg.develop(path="lib/MPIPreferences")
559
+ using MPIPreferences
560
+ MPIPreferences.use_jll_binary("MPItrampoline_jll", export_prefs=true)
561
+ rm("test/Manifest.toml")
557
562
558
563
- uses : julia-actions/julia-runtest@latest
559
564
0 commit comments