Skip to content

Commit 335ffcc

Browse files
committed
Update cis.
1 parent e631d97 commit 335ffcc

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,22 @@ jobs:
1010

1111
env:
1212
FC: gfortran
13-
GCC_V: 11
13+
GCC_V: 13
1414

1515
steps:
1616
- name: Checkout code
1717
uses: actions/checkout@v3
1818

1919
- name: Install Dependencies
2020
run: |
21-
sudo apt install -y gfortran-${GCC_V} cmake mpich
21+
sudo apt install -y gfortran-${GCC_V} cmake
2222
sudo update-alternatives --install /usr/bin/gfortran gfortran /usr/bin/gfortran-${GCC_V} 100
2323
24+
- name: Setup MPI
25+
uses: mpi4py/setup-mpi@v1
26+
with:
27+
mpi: mpich
28+
2429
- name: Build and Test
2530
run: |
2631
mkdir build

.github/workflows/win-ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ jobs:
4242
ls "${I_MPI_ROOT}/bin"
4343
ls "${I_MPI_ROOT}"
4444
ls "${I_MPI_ROOT}/lib"
45+
ls "${I_MPI_ROOT}/env"
46+
source "${I_MPI_ROOT}/env/vars.sh"
4547
mpifc.bat -show
4648
mpicc.bat -show
4749
mpifc.bat -version || echo "ifort not installed"

0 commit comments

Comments
 (0)