Skip to content

Commit 8dc7015

Browse files
committed
Intel CI: build fpm with gfortran, build tests with ifx
1 parent becfa63 commit 8dc7015

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/meta.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
Remove-Item "oneAPI" -Force -Recurse
8585
8686
- name: (Ubuntu) Install gfortran
87-
if: contains(matrix.os,'ubuntu') && (!contains(matrix.mpi,'intel'))
87+
if: contains(matrix.os,'ubuntu')
8888
run: |
8989
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-${GCC_V} 100 \
9090
--slave /usr/bin/gfortran gfortran /usr/bin/gfortran-${GCC_V} \
@@ -209,14 +209,6 @@ jobs:
209209
mv $(which fpm) fpm-bootstrap${{ matrix.exe }}
210210
echo "BOOTSTRAP=$PWD/fpm-bootstrap" >> $GITHUB_ENV
211211
212-
- name: Use Intel compiler for the metapackage tests
213-
if: contains(matrix.mpi,'intel')
214-
shell: bash
215-
run: |
216-
echo "FPM_FC=ifx" >> $GITHUB_ENV
217-
echo "FPM_CC=icx" >> $GITHUB_ENV
218-
echo "FPM_CXX=icpx" >> $GITHUB_ENV
219-
220212
- name: (macOS) Use gcc/g++ instead of Clang for C/C++
221213
if: contains(matrix.os,'macOS')
222214
shell: bash
@@ -300,6 +292,14 @@ jobs:
300292
env:
301293
EXE: fpm-${{ env.VERSION }}-${{ matrix.os-arch }}${{ matrix.exe }}
302294

295+
- name: Use Intel compiler for the metapackage tests
296+
if: contains(matrix.mpi,'intel')
297+
shell: bash
298+
run: |
299+
echo "FPM_FC=ifx" >> $GITHUB_ENV
300+
echo "FPM_CC=icx" >> $GITHUB_ENV
301+
echo "FPM_CXX=icpx" >> $GITHUB_ENV
302+
303303
- name: Run metapackage tests using the release version
304304
shell: bash
305305
run: |

0 commit comments

Comments
 (0)