Skip to content

Commit b6e8f53

Browse files
committed
Update CI runners
Ubuntu 20.04 will be removed soon and is in brownout phase.
1 parent eef31a7 commit b6e8f53

4 files changed

Lines changed: 12 additions & 16 deletions

File tree

.github/workflows/static-analysis.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,6 @@ concurrency:
1212
group: ${{format('staticAna-{0}:{1}', github.repository, github.ref)}}
1313
cancel-in-progress: true
1414

15-
env:
16-
CC: clang-10
17-
CXX: clang++-10
18-
ADDITIONAL_CMAKE_FLAGS: ""
19-
2015
jobs:
2116
StyleAndFormatting:
2217
runs-on: ubuntu-latest
@@ -46,14 +41,18 @@ jobs:
4641
reuse lint
4742

4843
Clang-Tidy:
49-
runs-on: ubuntu-20.04
44+
env:
45+
CC: clang-13
46+
CXX: clang++-13
47+
ADDITIONAL_CMAKE_FLAGS: ""
48+
runs-on: ubuntu-24.04
5049
steps:
5150
- uses: actions/checkout@v4
5251
- run: git submodule update --init
5352
- name: Install dependencies
5453
run: |
5554
sudo apt-get update && sudo apt-get install -y \
56-
clang-10 clang-tidy-10 \
55+
clang-13 clang-tidy-13 \
5756
libsdl2-dev libsdl2-mixer-dev libcurl4-openssl-dev libbz2-dev libminiupnpc-dev liblua5.2-dev gettext \
5857
libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev libboost-test-dev libboost-locale-dev libboost-iostreams-dev
5958
- name: Run Clang-Tidy

.github/workflows/unit-tests.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -77,25 +77,22 @@ jobs:
7777
include:
7878
# MacOSX:
7979
# Use system clang (15)
80-
# Use (compiler) default C++ 14 standard
8180
# Use system cmake (version gets ignored below)
8281
# Use boost installed via brew
8382
- { compiler: clang, os: macos-14, type: Debug }
8483

8584
# Linux:
8685
# Oldest Compilers
8786
# GCC 9 also known to show a few warnings that newer versions dont show
88-
# Use (compiler) default C++ 14 standard
8987
# Use system cmake
90-
# Use system boost (min version)
91-
- { compiler: gcc-9, os: ubuntu-20.04, type: Debug, cmake: 3.16.3, boost: 1.71.0 }
92-
- { compiler: clang-10, os: ubuntu-20.04, type: Debug, cmake: 3.16.3, boost: 1.71.0, externalSanitizer: true }
88+
# Use boost 1.73 (min version)
89+
- { compiler: gcc-9, os: ubuntu-22.04, type: Debug, cmake: 3.16.3, boost: 1.73.0 }
90+
- { compiler: clang-11, os: ubuntu-22.04, type: Debug, cmake: 3.16.3, boost: 1.73.0, externalSanitizer: true }
9391
#
9492
# Default compiler for Ubuntu 20.04
95-
# Use (compiler) default C++ 14 standard
9693
# Use default cmake
9794
# Use default boost
98-
- { compiler: gcc-10, os: ubuntu-20.04, type: Debug, coverage: true }
95+
- { compiler: gcc-10, os: ubuntu-22.04, type: Debug, coverage: true }
9996
#
10097
# Default compilers for Ubuntu 22.04
10198
# Use C++ 17 standard (default for gcc-11)

external/libutil

0 commit comments

Comments
 (0)