Skip to content

Commit 7ae2627

Browse files
committed
ci: fix cmake builds
1 parent 2a9c452 commit 7ae2627

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@ jobs:
3030
build-type: Release
3131
build-shared: 'ON'
3232
cxx-standard: 17
33-
cc_compiler: clang
34-
cxx_compiler: clang++
33+
cxx-compiler: clang++
34+
cxx-flags: ''
35+
cc-compiler: clang
3536
compiler-desc: clang
3637
os: ubuntu-latest
3738

@@ -42,8 +43,9 @@ jobs:
4243
build-type: Debug
4344
build-shared: 'ON'
4445
cxx-standard: 17
45-
cc_compiler: clang
46-
cxx_compiler: clang++
46+
cxx-compiler: clang++
47+
cxx-flags: ''
48+
cc-compiler: clang
4749
compiler-desc: clang
4850
os: ubuntu-latest
4951

@@ -55,6 +57,7 @@ jobs:
5557
build-shared: 'ON'
5658
cxx-standard: 17
5759
cxx-compiler: g++
60+
cxx-flags: ''
5861
cc-compiler: gcc
5962
compiler-desc: gcc
6063
os: ubuntu-latest
@@ -67,6 +70,7 @@ jobs:
6770
build-shared: 'ON'
6871
cxx-standard: 17
6972
cxx-compiler: g++
73+
cxx-flags: ''
7074
cc-compiler: gcc
7175
compiler-desc: gcc
7276
os: ubuntu-latest
@@ -99,7 +103,7 @@ jobs:
99103
working-directory: _build
100104
- name: Test
101105
run: |
102-
ctest --build-config ${{ matrix.build_type }} --verbose
106+
ctest --build-config ${{ matrix.build-type }} --verbose
103107
working-directory: _build
104108

105109
# ---------------------------------------------------------------------------
@@ -119,6 +123,7 @@ jobs:
119123
build-type: Release
120124
build-shared: 'ON'
121125
cxx-standard: 17
126+
cxx-flags: ''
122127
os: macos-latest
123128

124129
# Debug
@@ -127,6 +132,7 @@ jobs:
127132
build-shared: 'ON'
128133
build-docs: 'OFF'
129134
cxx-standard: 17
135+
cxx-flags: ''
130136
os: macos-latest
131137

132138
steps:
@@ -155,7 +161,7 @@ jobs:
155161
working-directory: _build
156162
- name: Test
157163
run: |
158-
ctest --build-config ${{ matrix.build_type }} --verbose
164+
ctest --build-config ${{ matrix.build-type }} --verbose
159165
working-directory: _build
160166

161167
# ---------------------------------------------------------------------------
@@ -175,13 +181,15 @@ jobs:
175181
build-type: Release
176182
build-shared: 'ON'
177183
cxx-standard: 17
184+
cxx-flags: ''
178185
os: windows-latest
179186

180187
# Debug
181188
- build: 2
182189
build-type: Debug
183190
build-shared: 'ON'
184191
cxx-standard: 17
192+
cxx-flags: ''
185193
os: windows-latest
186194

187195

@@ -217,4 +225,4 @@ jobs:
217225
run: |
218226
ctest -C ${{ matrix.build-type }}
219227
shell: bash
220-
working-directory: _build
228+
working-directory: _build

0 commit comments

Comments
 (0)