Skip to content

Commit 9ad09c4

Browse files
committed
ci:macos: AppleClang + Gfortran
This is an important case that can break exception handling
1 parent 24efe40 commit 9ad09c4

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292

9393
strategy:
9494
matrix:
95-
llvm-version: [20]
95+
llvm-version: [21]
9696

9797
env:
9898
CC: clang-${{ matrix.llvm-version }}
@@ -123,13 +123,16 @@ jobs:
123123
strategy:
124124
matrix:
125125
compiler: [{cpp: clang++, c: clang, fc: flang-new },
126+
{cpp: clang++, c: clang, fc: gfortran-15 },
126127
{cpp: g++-15, c: gcc-15, fc: gfortran-15 }]
127128

128129
env:
129130
FC: ${{ matrix.compiler.fc }}
130131
CC: ${{ matrix.compiler.c }}
131132
CXX: ${{ matrix.compiler.cpp }}
132133

134+
name: macOS ${{ matrix.compiler.cpp }} ${{ matrix.compiler.fc }}
135+
133136
steps:
134137
- name: install Flang
135138
if: ${{ matrix.compiler.fc == 'flang-new' }}

CMakePresets.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"name": "default",
77
"binaryDir": "${sourceDir}/build",
88
"cacheVariables": {
9-
"CMAKE_COMPILE_WARNING_AS_ERROR": true
9+
"CMAKE_COMPILE_WARNING_AS_ERROR": true,
10+
"CMAKE_LINK_WARNING_AS_ERROR": true
1011
}
1112
},
1213
{

0 commit comments

Comments
 (0)