Skip to content

Commit 69bf775

Browse files
committed
👷‍♀️ Clang windows builds to solidify it as a real platform!
1 parent daadf42 commit 69bf775

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Windows Builds (Basic - Clang)
2+
3+
on: [push, pull_request]
4+
5+
env:
6+
CTEST_OUTPUT_ON_FAILURE: 1
7+
CTEST_NO_TESTS_ACTION: error
8+
9+
jobs:
10+
build:
11+
name: ${{matrix.os}}, ${{matrix.std}}, ${{matrix.build_type}}, ${{matrix.platform}} (Clang)
12+
runs-on: ${{matrix.os}}
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
os: [windows-2022, windows-2025]
17+
platform: [Win32, x64]
18+
build_type: [Debug, Release]
19+
std: [14, 17]
20+
steps:
21+
- uses: actions/checkout@v4
22+
23+
- name: Configure build
24+
run: |
25+
cmake --preset all-tests `
26+
-DCMAKE_CXX_STANDARD=${{matrix.std}} `
27+
-DCMAKE_C_COMPILER=clang `
28+
-DCMAKE_CXX_COMPILER=clang++ `
29+
30+
- name: Build tests
31+
run: cmake --build build --config ${{matrix.build_type}} --parallel %NUMBER_OF_PROCESSORS%
32+
shell: cmd
33+
34+
- name: Run tests
35+
run: ctest --test-dir build -C ${{matrix.build_type}} -j %NUMBER_OF_PROCESSORS%
36+
shell: cmd

0 commit comments

Comments
 (0)