Skip to content

Commit 8f484c7

Browse files
committed
Another attempt of fixing CI
1 parent b03a66f commit 8f484c7

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

.github/workflows/ci_extra.yml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
fail-fast: false
1212
matrix:
1313
version:
14-
- '1.11'
14+
- '1.10'
1515
os:
1616
- ubuntu-latest
1717
arch:
@@ -30,10 +30,6 @@ jobs:
3030
${{ runner.os }}-build-${{ env.JULIA_PETSC_LIBRARY }}-
3131
${{ runner.os }}-build-
3232
${{ runner.os }}-
33-
- uses: julia-actions/setup-julia@v2
34-
with:
35-
version: ${{ matrix.version }}
36-
arch: ${{ matrix.arch }}
3733
- name: Install petsc dependencies
3834
run: |
3935
sudo apt-get update
@@ -61,17 +57,18 @@ jobs:
6157
--with-mpi=1 --with-64-bit-indices
6258
make
6359
make install
64-
- name: add MPIPreferences
60+
- uses: julia-actions/setup-julia@v2
61+
with:
62+
version: ${{ matrix.version }}
63+
arch: ${{ matrix.arch }}
64+
- name: Set system MPI with MPIPreferences
6565
shell: julia --color=yes --project=. {0}
6666
run: |
6767
using Pkg
6868
Pkg.add("MPIPreferences")
69-
- name: use MPI system binary
70-
shell: julia --color=yes --project=. {0}
71-
run: |
7269
using MPIPreferences
7370
MPIPreferences.use_system_binary()
74-
- run: julia --project=. -e 'using Pkg; Pkg.instantiate(); Pkg.build(); Pkg.precompile()'
71+
- uses: julia-actions/julia-buildpkg@v1
7572
- run: julia --project=. --color=yes --check-bounds=yes test/serial/runtests.jl
7673
- run: julia --project=. --color=yes --check-bounds=yes test/sequential/runtests.jl
7774
- run: julia --project=. --color=yes --check-bounds=yes test/mpi/runtests.jl

0 commit comments

Comments
 (0)