Skip to content

Commit 19ab707

Browse files
committed
Use the ubuntu-24.04 runner image in CI
1 parent 7a251f6 commit 19ab707

File tree

2 files changed

+9
-9
lines changed
  • .github/workflows
  • cmake-init/templates/common/.github/workflows

2 files changed

+9
-9
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040

4141
pm: [none, conan, vcpkg]
4242

43-
os: [macos-14, ubuntu-22.04, windows-2022]
43+
os: [macos-14, ubuntu-24.04, windows-2022]
4444

4545
include:
4646
- { job: 1, type: "-s --examples", name: "Library (C++): shared", flag: "-D BUILD_SHARED_LIBS=YES" }
@@ -61,7 +61,7 @@ jobs:
6161
- uses: actions/checkout@v4
6262

6363
- name: Install static analyzers
64-
if: matrix.os == 'ubuntu-22.04'
64+
if: matrix.os == 'ubuntu-24.04'
6565
run: >-
6666
sudo apt-get install clang-tidy-14 cppcheck -y -q
6767
@@ -78,7 +78,7 @@ jobs:
7878
python cmake-init.pyz ${{ matrix.type }} -p ${{ matrix.pm }} proj
7979
8080
- name: Lint generated project
81-
if: matrix.os == 'ubuntu-22.04'
81+
if: matrix.os == 'ubuntu-24.04'
8282
working-directory: proj
8383
run: cmake -D FORMAT_COMMAND=clang-format-14 -P cmake/lint.cmake
8484

cmake-init/templates/common/.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ env:
1414

1515
jobs:
1616
lint:
17-
runs-on: ubuntu-22.04
17+
runs-on: ubuntu-24.04
1818

1919
steps:
2020
- uses: actions/checkout@v4
@@ -35,7 +35,7 @@ jobs:
3535
coverage:
3636
needs: [lint]
3737

38-
runs-on: ubuntu-22.04
38+
runs-on: ubuntu-24.04
3939

4040
# To enable coverage, delete the last line from the conditional below and
4141
# edit the "<name>" placeholder to your GitHub name.
@@ -90,7 +90,7 @@ jobs:
9090
sanitize:
9191
needs: [lint]
9292

93-
runs-on: ubuntu-22.04
93+
runs-on: ubuntu-24.04
9494

9595
env: { C{% if c %}C{% else %}XX{% end %}: clang{% if cpp %}++{% end %}-14{% if c and pm %}, CXX: clang++-14{% end %} }
9696

@@ -138,7 +138,7 @@ jobs:
138138

139139
strategy:
140140
matrix:
141-
os: [macos-14, ubuntu-22.04, windows-2022]{% if lib %}
141+
os: [macos-14, ubuntu-24.04, windows-2022]{% if lib %}
142142

143143
type: [shared, static]
144144

@@ -152,7 +152,7 @@ jobs:
152152
- uses: actions/checkout@v4
153153

154154
- name: Install static analyzers
155-
if: matrix.os == 'ubuntu-22.04'
155+
if: matrix.os == 'ubuntu-24.04'
156156
run: >-
157157
sudo apt-get install clang-tidy-14 cppcheck -y -q
158158
@@ -207,7 +207,7 @@ jobs:
207207
# Deploy docs only when builds succeed
208208
needs: [sanitize, test]
209209

210-
runs-on: ubuntu-22.04
210+
runs-on: ubuntu-24.04
211211

212212
# To enable, first you have to create an orphaned gh-pages branch:
213213
#

0 commit comments

Comments
 (0)