diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 30f1e8a64..4588388ff 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,11 +17,11 @@ jobs: matrix: include: - platform: linux - os: ubuntu-22.04 + os: ubuntu-24.04 compiler: gcc-default is_main: true - platform: linux - os: ubuntu-22.04 + os: ubuntu-24.04 compiler: gcc-latest is_main: false - platform: windows @@ -34,7 +34,7 @@ jobs: VCPKG_BINARY_SOURCES: clear;x-gha,readwrite # Update when there is a new version of gcc available - LATEST_GCC_VERSION: 13 + LATEST_GCC_VERSION: 14 steps: - uses: actions/checkout@v4 @@ -50,14 +50,12 @@ jobs: run: | sudo apt update sudo apt upgrade -y - sudo apt install --no-install-recommends build-essential ninja-build lcov + sudo apt install -y --no-install-recommends build-essential ninja-build lcov - name: Install latest gcc (Linux) if: matrix.compiler == 'gcc-latest' run: | - sudo add-apt-repository ppa:ubuntu-toolchain-r/test - sudo apt-get update - sudo apt-get install g++-$LATEST_GCC_VERSION + sudo apt-get install -y g++-$LATEST_GCC_VERSION # Use environment variable to tell CMake to compile with this version of gcc echo CXX=g++-$LATEST_GCC_VERSION >> "$GITHUB_ENV" diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index adfca8a4e..23742ce39 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -22,7 +22,7 @@ concurrency: jobs: # Build job build: - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest env: VCPKG_ROOT: vcpkg VCPKG_BINARY_SOURCES: clear;nuget,GitHub,readwrite diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d2cc3ccfc..255a670f4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,7 +5,6 @@ run-name: Publishing release ${{ github.ref_name }} on: release: types: [published] - branches: [main] jobs: sha256: name: sha256