Skip to content

Commit b0cdf4b

Browse files
committed
Add additional compiler options and remove python 3.8
1 parent 7d6c759 commit b0cdf4b

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

.github/workflows/testing.yml

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,21 +27,20 @@ jobs:
2727
build: [optimized]
2828
toolchain:
2929
- {compiler: gcc, version: 14}
30-
- {compiler: gcc, version: 15}
31-
# - {compiler: intel, version: '2025.0'}
32-
# - {compiler: intel-classic, version: '2021.10'}
30+
- {compiler: intel, version: '2025.0'}
31+
- {compiler: intel-classic, version: '2021.10'}
3332
# - {compiler: nvidia-hpc, version: '25.1'}
3433
# - {compiler: lfortran, version: '0.45.0'} # Does not work with meson
3534
include:
3635
- os: ubuntu-latest
3736
build: debug
38-
python-version: 3.8
39-
toolchain: {compiler: gcc, version: 14}
40-
exclude:
41-
- os: ubuntu-latest
37+
# python-version: 3.8
38+
# toolchain: {compiler: gcc, version: 14}
39+
- os: macos-latest
4240
toolchain: {compiler: gcc, version: 15}
41+
exclude:
4342
- os: macos-latest
44-
toolchain: {compiler: gcc, version: 14}
43+
toolchain: {compiler: intel, version: '2025.0'} # Intel not available on macOS runners
4544

4645
steps:
4746
- name: Set up Python ${{ matrix.python-version }}
@@ -109,6 +108,13 @@ jobs:
109108
echo "Unknown build type: ${{ matrix.build }}"
110109
exit 1
111110
fi
111+
elif [ "${{ matrix.toolchain.compiler }}" = "intel-classic" ]; then
112+
if [ "${{ matrix.build }}" = "debug" ]; then
113+
export FFLAGS="-g -O0 -check all -traceback"
114+
export OMP_NUM_THREADS=1
115+
elif [ "${{ matrix.build }}" = "optimized" ]; then
116+
export FFLAGS="-O1 -openmp"
117+
export OMP_NUM_THREADS=2
112118
else
113119
echo "Unknown compiler: ${{ matrix.toolchain.compiler }}"
114120
exit 1

0 commit comments

Comments
 (0)