Skip to content

Commit c4fe050

Browse files
committed
Upgrade Ubuntu runner to 24.04
1 parent 01005ec commit c4fe050

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.github/workflows/cmake-multi-platform.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,17 @@ jobs:
1414
fail-fast: false
1515

1616
matrix:
17-
os: [ ubuntu-latest, windows-latest, macos-latest ]
17+
os: [ ubuntu-24.04, windows-latest, macos-latest ]
1818
build_type: [ Debug, Release ]
1919
c_compiler: [ gcc, clang, cl ]
2020
include:
2121
- os: windows-latest
2222
c_compiler: cl
2323
cpp_compiler: cl
24-
- os: ubuntu-latest
24+
- os: ubuntu-24.04
2525
c_compiler: gcc
2626
cpp_compiler: g++
27-
- os: ubuntu-latest
27+
- os: ubuntu-24.04
2828
c_compiler: clang
2929
cpp_compiler: clang++
3030
- os: macos-latest
@@ -36,7 +36,7 @@ jobs:
3636
c_compiler: gcc
3737
- os: windows-latest
3838
c_compiler: clang
39-
- os: ubuntu-latest
39+
- os: ubuntu-24.04
4040
c_compiler: cl
4141
- os: macos-latest
4242
c_compiler: cl
@@ -47,7 +47,7 @@ jobs:
4747
- name: Install Ninja
4848
# Install Ninja, a build system that can be used as an alternative to make.
4949
# Ninja is faster and recommended for large projects.
50-
if: matrix.os == 'ubuntu-latest'
50+
if: matrix.os == 'ubuntu-24.04'
5151
run: sudo apt-get install ninja-build -y
5252

5353
- uses: actions/checkout@v4

.github/workflows/cpack-multi-platform.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ jobs:
1212
fail-fast: false
1313

1414
matrix:
15-
os: [ ubuntu-latest, windows-latest, macos-latest ]
15+
os: [ ubuntu-24.04, windows-latest, macos-latest ]
1616
c_compiler: [ gcc, clang, cl ]
1717
include:
1818
- os: windows-latest
1919
c_compiler: cl
2020
cpp_compiler: cl
21-
- os: ubuntu-latest
21+
- os: ubuntu-24.04
2222
c_compiler: gcc
2323
cpp_compiler: g++
2424
- os: macos-latest
@@ -29,9 +29,9 @@ jobs:
2929
c_compiler: gcc
3030
- os: windows-latest
3131
c_compiler: clang
32-
- os: ubuntu-latest
32+
- os: ubuntu-24.04
3333
c_compiler: cl
34-
- os: ubuntu-latest
34+
- os: ubuntu-24.04
3535
c_compiler: clang
3636
- os: macos-latest
3737
c_compiler: cl
@@ -40,7 +40,7 @@ jobs:
4040

4141
steps:
4242
- name: Upgrade Build Tools and install Ninja
43-
if: matrix.os == 'ubuntu-latest'
43+
if: matrix.os == 'ubuntu-24.04'
4444
run: sudo apt update && sudo apt upgrade -y && sudo apt install ninja-build -y
4545

4646
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)