Skip to content

Commit 733ef2a

Browse files
committed
Update cmake.yml
1 parent 2cca217 commit 733ef2a

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/cmake.yml

Lines changed: 6 additions & 5 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-20.04, windows-latest, macOS-latest]
34+
os: [ubuntu-24.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-20.04
41+
- os: ubuntu-24.04
4242
c_compiler: gcc
4343
cpp_compiler: g++
44-
- os: ubuntu-20.04
44+
- os: ubuntu-24.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-20.04
55+
- os: ubuntu-24.04
5656
c_compiler: cl
5757
- os: macOS-latest
5858
c_compiler: cl
@@ -72,12 +72,13 @@ jobs:
7272
echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"
7373
7474
- name: Install Clang and Libraries
75+
if: matrix.os == 'ubuntu-24.04' && matrix.c_compiler == 'clang'
7576
run: |
7677
sudo apt-get update
7778
sudo apt-get install -y clang libc++-dev libc++abi-dev
7879
7980
- name: Check Clang Settings
80-
if: matrix.os == 'ubuntu-20.04' && matrix.c_compiler == 'clang'
81+
if: matrix.os == 'ubuntu-24.04' && matrix.c_compiler == 'clang'
8182
run: |
8283
clang --version
8384
clang++ --version

0 commit comments

Comments
 (0)