Skip to content

Commit d178ffc

Browse files
Setting this mirrors a local act script that I have which works fine with my code. This is obviously a pretty bad way to do things, but for now it is a simple test
1 parent 14b9a0d commit d178ffc

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,14 @@ jobs:
7676
printenv >> $GITHUB_ENV
7777
7878
- name: Build
79+
if: matrix.os == 'macos' || (matrix.os == 'ubuntu' && matrix.intel == false)
80+
run: |
81+
/bin/bash mfc.sh test --dry-run -j $(nproc) --${{ matrix.debug }} --${{ matrix.mpi }} --${{ matrix.precision }}
82+
83+
- name: Build (Intel)
84+
if: matrix.os == 'ubuntu' && matrix.intel == true
7985
run: |
86+
source /opt/intel/oneapi/setvars.sh --force
8087
/bin/bash mfc.sh test --dry-run -j $(nproc) --${{ matrix.debug }} --${{ matrix.mpi }} --${{ matrix.precision }}
8188
8289
- name: Test
@@ -87,7 +94,7 @@ jobs:
8794
OPT1: ${{ matrix.mpi == 'mpi' && '--test-all' || '' }}
8895
OPT2: ${{ matrix.debug == 'debug' && '-% 20' || '' }}
8996

90-
name: Test (Intel)
97+
- name: Test (Intel)
9198
if: matrix.os == 'ubuntu' && matrix.intel == true
9299
run: |
93100
source /opt/intel/oneapi/setvars.sh --force

0 commit comments

Comments
 (0)