Skip to content

Commit aaf7bda

Browse files
committed
ci: Use conda clang-cl
1 parent 553167b commit aaf7bda

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

.github/workflows/ci-ubuntu-macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
-DPYTHON_EXECUTABLE=$(which python3) \
5252
-DBUILD_WITH_CPPAD_CODEGEN_BINDINGS=ON
5353
ninja -j1
54-
ctest --output-on-failure -C Release -V
54+
ctest --output-on-failure
5555
ninja install
5656
5757
- name: Uninstall PyCppAD

.github/workflows/ci-windows.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,19 @@ env:
99

1010
jobs:
1111
build:
12+
name: build (${{ matrix.os }}, ${{ matrix.compiler.name }}, ${{ matrix.compiler.cppad_codegen }})
1213
runs-on: ${{ matrix.os }}
1314

1415
strategy:
1516
fail-fast: false
1617
matrix:
1718
os: [windows-latest]
1819
compiler:
19-
- cmd: cl
20+
- name: cl
21+
cmd: cl
2022
cppad_codegen: OFF
21-
- cmd: clang-cl
23+
- name: clang-cl
24+
cmd: '%CONDA_PREFIX%\\Library\\bin\\clang-cl'
2225
cppad_codegen: ON
2326

2427
steps:
@@ -63,7 +66,7 @@ jobs:
6366
ninja -j1
6467
6568
:: Testing
66-
ctest --output-on-failure -C Release -V
69+
ctest --output-on-failure
6770
6871
:: Test Python import
6972
ninja install

.github/workflows/conda/conda-env.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ dependencies:
1212
- pkg-config
1313
- ninja
1414
- cxx-compiler
15+
- clangxx
1516
- doxygen

0 commit comments

Comments
 (0)