Skip to content

Commit

Permalink
ci: Back to 22.04; switch to GCC 12
Browse files Browse the repository at this point in the history
  • Loading branch information
hebasto committed May 29, 2024
1 parent 3c168be commit 46612ad
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ concurrency:

jobs:
ubuntu-jammy-native:
name: 'Ubuntu 24.04, CMake 3.22, Boost ${{ matrix.conf.boost_version }}'
runs-on: ubuntu-24.04
name: 'Ubuntu 22.04, CMake 3.22, Boost ${{ matrix.conf.boost_version }}'
runs-on: ubuntu-22.04

strategy:
fail-fast: false
Expand All @@ -45,7 +45,7 @@ jobs:
# Workaround for https://github.com/actions/runner-images/issues/9733.
sudo rm /etc/apt/sources.list.d/microsoft-prod.list
sudo apt-get update
sudo apt-get install --no-install-recommends curl cmake ccache libevent-dev libsqlite3-dev libdb-dev libdb++-dev libminiupnpc-dev libnatpmp-dev libzmq3-dev systemtap-sdt-dev
sudo apt-get install --no-install-recommends tree g++-12 curl cmake ccache libevent-dev libsqlite3-dev libdb-dev libdb++-dev libminiupnpc-dev libnatpmp-dev libzmq3-dev systemtap-sdt-dev
echo "CCACHE_DIR=${{ runner.temp }}/ccache" >> "$GITHUB_ENV"
- name: CMake version
Expand All @@ -68,7 +68,7 @@ jobs:

- name: Generate build system
run: |
cmake -B build --preset ci-linux -DBoost_INCLUDE_DIR="${PWD}/${{ matrix.conf.boost_archive }}"
cmake -B build --preset ci-linux -DBoost_INCLUDE_DIR="${PWD}/${{ matrix.conf.boost_archive }}" -DCMAKE_C_COMPILER=gcc-12 -DCMAKE_CXX_COMPILER=g++-12
- name: Build
working-directory: build
Expand Down

0 comments on commit 46612ad

Please sign in to comment.