File tree Expand file tree Collapse file tree 1 file changed +17
-19
lines changed Expand file tree Collapse file tree 1 file changed +17
-19
lines changed Original file line number Diff line number Diff line change 2424 os : ['ubuntu']
2525 mpi : ['mpi', 'no-mpi']
2626 debug : ['debug', 'no-debug']
27- intel : [true, false ]
27+ intel : [true]
2828 fail-fast : false
2929 continue-on-error : true
3030 runs-on : ${{ matrix.os }}-latest
@@ -74,25 +74,23 @@ jobs:
7474 echo "MPI_HOME=/opt/intel/oneapi/mpi/2021.7.1/" >> $GITHUB_ENV
7575 echo "I_MPI_ROOT=/opt/intel/oneapi/mpi/2021.7.1/" >> $GITHUB_ENV
7676
77- if : matrix.intel == true
78- - name : Build
79- run : |
80- source /opt/intel/oneapi/setvars.sh
81- /bin/bash mfc.sh build -j $(nproc) --${{ matrix.debug }} --${{ matrix.mpi }}
82-
83- - name : Test
84- run : |
85- source /opt/intel/oneapi/setvars.sh
86- /bin/bash mfc.sh test -j $(nproc) $(if [ "${{ matrix.mpi }}" == "mpi" ]; then echo "--test-all"; fi)
87-
88- if : matrix.intel == false
89- - name : Build
90- run : |
91- /bin/bash mfc.sh build -j $(nproc) --${{ matrix.debug }} --${{ matrix.mpi }}
77+ - name : Build
78+ if : matrix.intel == true
79+ run : |
80+ source /opt/intel/oneapi/setvars.sh
81+ /bin/bash mfc.sh build -j $(nproc) --${{ matrix.debug }} --${{ matrix.mpi }}
82+ if : matrix.intel == false
83+ run : |
84+ /bin/bash mfc.sh build -j $(nproc) --${{ matrix.debug }} --${{ matrix.mpi }}
9285
93- - name : Test
94- run : |
95- /bin/bash mfc.sh test -j $(nproc) $(if [ "${{ matrix.mpi }}" == "mpi" ]; then echo "--test-all"; fi)
86+ - name : Test
87+ if : matrix.intel == true
88+ run : |
89+ source /opt/intel/oneapi/setvars.sh
90+ /bin/bash mfc.sh test -j $(nproc) $(if [ "${{ matrix.mpi }}" == "mpi" ]; then echo "--test-all"; fi)
91+ if : matrix.intel == false
92+ run : |
93+ /bin/bash mfc.sh test -j $(nproc) $(if [ "${{ matrix.mpi }}" == "mpi" ]; then echo "--test-all"; fi)
9694
9795 docker :
9896 name : Github | Docker
You can’t perform that action at this time.
0 commit comments