From 362a59b0c985ca9b082811720df6b605bfa15902 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Mon, 14 Oct 2024 17:30:49 +0900 Subject: [PATCH] GHA: Bump Ubuntu runner to 24.04 --- .github/workflows/build.yml | 18 +++++++++--------- .github/workflows/stale.yaml | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 10d4ccd..8b09482 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,7 +8,7 @@ jobs: build: strategy: matrix: - os: [ubuntu-22.04, macos-13, macos-14] + os: [ubuntu-24.04, macos-13, macos-14] compiler: [gcc, clang] buildtool: [autotools, distcheck, cmake] exclude: @@ -26,8 +26,8 @@ jobs: run: | sudo apt-get update sudo apt-get install \ - g++-12 \ - clang-15 \ + g++-14 \ + clang-18 \ autoconf \ automake \ autotools-dev \ @@ -48,8 +48,8 @@ jobs: - name: Setup clang (Linux) if: runner.os == 'Linux' && matrix.compiler == 'clang' run: | - echo 'CC=clang-15' >> $GITHUB_ENV - echo 'CXX=clang++-15' >> $GITHUB_ENV + echo 'CC=clang-18' >> $GITHUB_ENV + echo 'CXX=clang++-18' >> $GITHUB_ENV - name: Setup clang (MacOS) if: runner.os == 'macOS' && matrix.compiler == 'clang' run: | @@ -58,8 +58,8 @@ jobs: - name: Setup gcc (Linux) if: runner.os == 'Linux' && matrix.compiler == 'gcc' run: | - echo 'CC=gcc-12' >> $GITHUB_ENV - echo 'CXX=g++-12' >> $GITHUB_ENV + echo 'CC=gcc-14' >> $GITHUB_ENV + echo 'CXX=g++-14' >> $GITHUB_ENV - name: Setup gcc (MacOS) if: runner.os == 'macOS' && matrix.compiler == 'gcc' run: | @@ -108,7 +108,7 @@ jobs: matrix: host: [x86_64-w64-mingw32, i686-w64-mingw32] - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 env: HOST: ${{ matrix.host }} @@ -181,7 +181,7 @@ jobs: permissions: contents: write - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/stale.yaml b/.github/workflows/stale.yaml index 2c7841b..d00bcff 100644 --- a/.github/workflows/stale.yaml +++ b/.github/workflows/stale.yaml @@ -9,7 +9,7 @@ permissions: jobs: stale: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - uses: actions/stale@v9