Skip to content

Commit 0455455

Browse files
committed
Add clang on the CI for windows and linux
1 parent 25ab11a commit 0455455

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.github/workflows/cpp-ci-serial-programs.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,16 @@ jobs:
1010
fail-fast: false
1111
matrix:
1212
os: [windows-2025, macos-13, ubuntu-24.04]
13+
toolset: ['', '-T ClangCL']
1314
qt_version: ['6.9.0']
1415
include:
15-
- qt_version: '6.9.0'
16-
qt_version_major: '6'
17-
qt_modules: 'qtmultimedia qtserialport'
16+
- qt_version: '6.9.0'
17+
qt_version_major: '6'
18+
qt_modules: 'qtmultimedia qtserialport'
19+
exclude:
20+
- os: 'macos-13'
21+
toolset: '-T ClangCL'
22+
# Excluded because macos default toolset is already clang
1823

1924
steps:
2025
- uses: actions/checkout@v4
@@ -42,7 +47,7 @@ jobs:
4247
cd Arduino-Source/SerialPrograms
4348
mkdir bin
4449
cd bin
45-
cmake .. -DQT_MAJOR:STRING=${{ matrix.qt_version_major }}
50+
cmake .. -DQT_MAJOR:STRING=${{ matrix.qt_version_major }} ${{ matrix.toolset }}
4651
cmake --build . --config Release --parallel 10
4752
- name: Copy resources
4853
if: startsWith(matrix.os, 'windows')

vcpkg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit 0cf34c184ce990471435b5b9c92edcf7424930b1

0 commit comments

Comments
 (0)