Skip to content

Commit

Permalink
Update ubuntu version for github build
Browse files Browse the repository at this point in the history
  • Loading branch information
Yaraslaut committed Sep 24, 2024
1 parent 927b1d7 commit 5868cd7
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,16 @@ jobs:
run: ./scripts/check-includes.sh

ubuntu_linux:
name: "Ubuntu Linux 22.04"
runs-on: ubuntu-22.04
name: "Ubuntu Linux 24.04"
runs-on: ubuntu-24.04
env:
CMAKE_PRESET: "linux-gcc-release"
steps:
- uses: actions/checkout@v3
- name: ccache
uses: hendrikmuhs/ccache-action@v1
with:
key: "ccache-ubuntu_2204"
key: "ccache-ubuntu_2404"
max-size: 256M
- name: set environment variables
id: set_vars
Expand All @@ -67,18 +67,18 @@ jobs:
sudo apt -q update
sudo apt install -qy ninja-build
sudo ./scripts/install-deps.sh
- name: "Install GCC 12"
run: sudo apt install g++-12
- name: "Install GCC"
run: sudo apt install g++
- name: "cmake"
run: cmake --preset "$CMAKE_PRESET" -D CMAKE_CXX_COMPILER="g++-12"
run: cmake --preset "$CMAKE_PRESET" -D CMAKE_CXX_COMPILER="g++"
- name: "build"
run: cmake --build --preset "$CMAKE_PRESET" --preset -- -j3
- name: "install dependencies for running benchmarks"
run: ./scripts/xvfb-deps.sh
- name: "Install contour"
run: |
wget https://github.com/contour-terminal/contour/releases/download/v$CONTOUR_VERSION/contour-$CONTOUR_VERSION-ubuntu22.04-amd64.deb
sudo dpkg -i contour-$CONTOUR_VERSION-ubuntu22.04-amd64.deb
wget https://github.com/contour-terminal/contour/releases/download/v$CONTOUR_VERSION/contour-$CONTOUR_VERSION-ubuntu24.04-amd64.deb
sudo dpkg -i contour-$CONTOUR_VERSION-ubuntu25.04-amd64.deb
- name: "create and patch contour.yml config file"
run: |
set -ex
Expand Down

0 comments on commit 5868cd7

Please sign in to comment.