Skip to content

Commit 965edb9

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

File tree

2 files changed

+25
-4
lines changed

2 files changed

+25
-4
lines changed

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

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,31 @@ 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+
20+
- os: 'windows-2025'
21+
toolset: ''
22+
23+
- os: 'windows-2025'
24+
toolset: '-T ClangCL'
25+
26+
- os: 'macos-13'
27+
toolset: ''
28+
29+
# - os: 'macos-13'
30+
# toolset: '-T ClangCL'
31+
# default toolset on mac is already clang
32+
33+
- os: 'ubuntu-24.04'
34+
toolset: ''
35+
36+
- os: 'ubuntu-24.04'
37+
toolset: '-T ClangCL'
1838

1939
steps:
2040
- uses: actions/checkout@v4
@@ -42,7 +62,7 @@ jobs:
4262
cd Arduino-Source/SerialPrograms
4363
mkdir bin
4464
cd bin
45-
cmake .. -DQT_MAJOR:STRING=${{ matrix.qt_version_major }}
65+
cmake .. -DQT_MAJOR:STRING=${{ matrix.qt_version_major }} ${{ matrix.toolset }}
4666
cmake --build . --config Release --parallel 10
4767
- name: Copy resources
4868
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)