Skip to content

Commit 48aa32b

Browse files
authored
Update ci.yml
1 parent ea77c1d commit 48aa32b

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ jobs:
2323
include:
2424
- os: ubuntu-latest
2525
- os: macos-latest
26-
- os: self-hosted
2726
gcc: 11
27+
- os: self-hosted
2828
runs-on: ${{ matrix.os }}
2929
steps:
3030
- name: Clone
@@ -56,15 +56,25 @@ jobs:
5656
run: /bin/bash mfc.sh build -j $(nproc)
5757

5858
- name: Build
59-
if: matrix.os == 'ubuntu-latest'
59+
if: matrix.os == 'ubuntu-latest'
6060
run: /bin/bash mfc.sh build -j $(nproc)
6161

6262
- name: Build
6363
if: matrix.os == 'self-hosted'
6464
run: |
6565
export PATH=$PATH:/usr/lib64/openmpi/bin/
66-
which mpif90
6766
/bin/bash mfc.sh build -j $(nproc)
6867
6968
- name: Test Suite
69+
if: matrix.os == 'self-hosted'
70+
run: |
71+
export PATH=$PATH:/usr/lib64/openmpi/bin/
72+
/bin/bash mfc.sh test -j $(nproc)
73+
74+
- name: Test Suite
75+
if: matrix.os == 'ubuntu-latest'
76+
run: /bin/bash mfc.sh test -j $(nproc)
77+
78+
- name: Test Suite
79+
if: matrix.os == 'macos-latest'
7080
run: /bin/bash mfc.sh test -j $(nproc)

0 commit comments

Comments
 (0)