File tree Expand file tree Collapse file tree 1 file changed +22
-2
lines changed
Expand file tree Collapse file tree 1 file changed +22
-2
lines changed Original file line number Diff line number Diff line change 3131# version: new
3232# container: gmao/llvm-flang:latest
3333# extra_flags: -g
34+ - os : ubuntu-24.04
35+ compiler : ifx
36+ version : 2025.1.0
37+ error_stop_code : 128
38+ extra_flags : -g
39+ container : intel/fortran-essentials:2025.1.0-0-devel-ubuntu24.04
40+ # container: intel/oneapi-hpckit:2025.1.0-0-devel-ubuntu24.04
41+ - os : ubuntu-22.04
42+ compiler : ifx
43+ version : 2025.0.0
44+ error_stop_code : 128
45+ extra_flags : -g
46+ container : intel/fortran-essentials:2025.0.0-0-devel-ubuntu22.04
3447
3548 exclude :
3649 - os : ubuntu-22.04
6477 set -x
6578 if test "$FC" = "flang" ; then \
6679 echo "FPM_FC=flang-new" >> "$GITHUB_ENV" ; \
80+ elif test "$FC" = "ifx" ; then \
81+ echo "FPM_FC=ifx" >> "$GITHUB_ENV" ; \
6782 else \
6883 echo "FPM_FC=gfortran-${GCC_VERSION}" >> "$GITHUB_ENV" ; \
6984 fi
85+ if test -n "${{ matrix.error_stop_code }}" ; then \
86+ echo "ERROR_STOP_CODE=${{ matrix.error_stop_code }}" >> "$GITHUB_ENV" ; \
87+ else \
88+ echo "ERROR_STOP_CODE=1" >> "$GITHUB_ENV" ; \
89+ fi
7090
7191 - name : Setup FPM
7292 uses : fortran-lang/setup-fpm@main
@@ -105,7 +125,7 @@ jobs:
105125 run : |
106126 set -x
107127 fpm test ${FPM_FLAGS} --flag "${{ matrix.EXTRA_FLAGS }}"
108- ( set +e ; fpm run --example false-assertion ${FPM_FLAGS} --flag "${{ matrix.EXTRA_FLAGS }}" ; test $? = 1 )
109- ( set +e ; fpm run --example invoke-via-macro ${FPM_FLAGS} --flag "${{ matrix.EXTRA_FLAGS }}" ; test $? = 1 )
128+ ( set +e ; fpm run --example false-assertion ${FPM_FLAGS} --flag "${{ matrix.EXTRA_FLAGS }}" ; test $? = $ERROR_STOP_CODE )
129+ ( set +e ; fpm run --example invoke-via-macro ${FPM_FLAGS} --flag "${{ matrix.EXTRA_FLAGS }}" ; test $? = $ERROR_STOP_CODE )
110130
111131
You can’t perform that action at this time.
0 commit comments