Skip to content

Commit ef1d828

Browse files
committed
use ubuntu 24 and gcc-14 for build
1 parent 597ed83 commit ef1d828

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/release.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
strategy:
5353
matrix:
5454
# use oldest possible ubuntu version in order to avoid compatibility errors with libc
55-
os: [ubuntu-22.04, macos-15]
55+
os: [ubuntu-24.04, macos-15]
5656
fail-fast: false
5757
steps:
5858
- uses: actions/checkout@v6
@@ -68,7 +68,7 @@ jobs:
6868
6969
- name: Install dependencies (Linux)
7070
if: runner.os == 'Linux'
71-
run: sudo apt-get update && sudo apt-get install -y ninja-build libexpat1-dev
71+
run: sudo apt-get update && sudo apt-get install -y ninja-build libexpat1-dev gcc-14 g++-14
7272

7373
- name: Install dependencies (macOS)
7474
if: runner.os == 'macOS'
@@ -81,6 +81,10 @@ jobs:
8181
if [ -n "$TAG" ]; then
8282
echo "VERSION=$TAG" > version.mak
8383
fi
84+
if [ "$RUNNER_OS" = "Linux" ]; then
85+
export CC=gcc-14
86+
export CXX=g++-14
87+
fi
8488
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release \
8589
-DBUILD_TESTS=OFF \
8690
-S . -B build

0 commit comments

Comments
 (0)