Skip to content

Commit 409966e

Browse files
committed
Update cmake.yml
1 parent 0d8ecb4 commit 409966e

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/cmake.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,17 @@ jobs:
3131
#
3232
# To add more build types (Release, Debug, RelWithDebInfo, etc.) customize the build_type list.
3333
matrix:
34-
os: [ubuntu-24.04, windows-latest, macOS-latest]
34+
os: [ubuntu-22.04, windows-latest, macOS-latest]
3535
build_type: ${{ fromJSON(format('[{0}]', inputs.build_type || '"Debug","Release"')) }}
3636
c_compiler: [gcc, clang, cl]
3737
include:
3838
- os: windows-latest
3939
c_compiler: cl
4040
cpp_compiler: cl
41-
- os: ubuntu-24.04
41+
- os: ubuntu-22.04
4242
c_compiler: gcc
4343
cpp_compiler: g++
44-
- os: ubuntu-24.04
44+
- os: ubuntu-22.04
4545
c_compiler: clang
4646
cpp_compiler: clang++
4747
- os: macOS-latest
@@ -52,7 +52,7 @@ jobs:
5252
c_compiler: gcc
5353
- os: windows-latest
5454
c_compiler: clang
55-
- os: ubuntu-24.04
55+
- os: ubuntu-22.04
5656
c_compiler: cl
5757
- os: macOS-latest
5858
c_compiler: cl
@@ -78,8 +78,10 @@ jobs:
7878
sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-16 100
7979
sudo update-alternatives --set clang /usr/bin/clang-16
8080
sudo update-alternatives --set clang++ /usr/bin/clang++-16
81-
82-
# Verify the change
81+
82+
- name: Check Clang Settings
83+
if: matrix.os == 'ubuntu-22.04' && matrix.c_compiler == 'clang'
84+
run: |
8385
clang --version
8486
clang++ --version
8587
echo "Checking clang headers..."

0 commit comments

Comments
 (0)