Skip to content

Commit 38089b4

Browse files
Update CI_sequential 3.yml to stop if compilation fails
1 parent 13043ce commit 38089b4

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/CI_sequential 3.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@ jobs:
102102
- name: Compile horses3d
103103
working-directory: ./Solver
104104
run: |
105-
source /opt/intel/oneapi/setvars.sh || true
105+
set -e
106+
source /opt/intel/oneapi/setvars.sh
106107
make allclean MODE=${{matrix.mode}} COMPILER=${{matrix.compiler}} COMM=${{matrix.comm}} ENABLE_THREADS=${{matrix.enable_threads}} WITH_MKL=${{matrix.mkl}}
107108
make MODE=${{matrix.mode}} COMPILER=${{matrix.compiler}} COMM=${{matrix.comm}} ENABLE_THREADS=${{matrix.enable_threads}} WITH_MKL=${{matrix.mkl}}
108109
@@ -569,4 +570,4 @@ jobs:
569570
# run: |
570571
# source /opt/intel/oneapi/setvars.sh || true
571572
# ./horses3d.caa LambTimeInterp.control
572-
# if: '!cancelled()'
573+
# if: '!cancelled()'

0 commit comments

Comments
 (0)