From b90745ae75bd5361125e3fb16ea91fa22bfeff97 Mon Sep 17 00:00:00 2001 From: Tim Blechmann Date: Fri, 13 Dec 2024 20:27:26 +0800 Subject: [PATCH] github: update github actions --- .github/workflows/ci.yml | 67 +++++++++++----------------------------- 1 file changed, 18 insertions(+), 49 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e1da70e..457b002 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,36 +31,6 @@ jobs: fail-fast: false matrix: include: - - toolset: gcc-5 - cxxstd: "14,1z" - os: ubuntu-22.04 - container: ubuntu:16.04 - install: g++-5 - supported: true - - toolset: gcc-6 - cxxstd: "14,1z" - os: ubuntu-22.04 - container: ubuntu:16.04 - install: g++-6 - supported: true - - toolset: gcc-7 - cxxstd: "14,17" - os: ubuntu-22.04 - container: ubuntu:18.04 - install: g++-7 - supported: true - - toolset: gcc-8 - cxxstd: "14,17,2a" - os: ubuntu-22.04 - container: ubuntu:18.04 - install: g++-8 - supported: true - - toolset: gcc-9 - cxxstd: "14,17,2a" - os: ubuntu-22.04 - container: ubuntu:18.04 - install: g++-9 - supported: true - toolset: gcc-10 cxxstd: "14,17,2a" os: ubuntu-22.04 @@ -81,12 +51,11 @@ jobs: os: ubuntu-22.04 install: g++-13 supported: true - - toolset: clang - install: clang-9 - compiler: clang++-9 - cxxstd: "14,17" - os: ubuntu-22.04 - container: ubuntu:18.04 + - toolset: gcc-14 + cxxstd: "14,17,20" + os: ubuntu-24.04 + install: g++-14 + supported: true - toolset: clang install: clang-10 compiler: clang++-10 @@ -134,17 +103,17 @@ jobs: - description: macos-13 toolset: clang cxxstd: "14,17,20" - os: macos-11 + os: macos-13 supported: true - description: macos-14 toolset: clang cxxstd: "14,17,20" - os: macos-11 + os: macos-14 supported: true - description: macos-15 toolset: clang cxxstd: "14,17,20" - os: macos-11 + os: macos-15 supported: true needs: [runner-selection] @@ -175,7 +144,7 @@ jobs: - uses: actions/checkout@v3 - name: Cache ccache - uses: actions/cache@v2 + uses: actions/cache@v4 if: env.B2_USE_CCACHE with: path: ~/.ccache @@ -341,11 +310,11 @@ jobs: fail-fast: false matrix: include: - - os: ubuntu-20.04 - os: ubuntu-22.04 - - os: macos-11 - - os: macos-12 + - os: ubuntu-24.04 - os: macos-13 + - os: macos-14 + - os: macos-15 runs-on: ${{matrix.os}} @@ -389,11 +358,11 @@ jobs: fail-fast: false matrix: include: - - os: ubuntu-20.04 - os: ubuntu-22.04 - - os: macos-11 - - os: macos-12 + - os: ubuntu-24.04 - os: macos-13 + - os: macos-14 + - os: macos-15 runs-on: ${{matrix.os}} @@ -447,11 +416,11 @@ jobs: fail-fast: false matrix: include: - - os: ubuntu-20.04 - os: ubuntu-22.04 - - os: macos-11 - - os: macos-12 + - os: ubuntu-24.04 - os: macos-13 + - os: macos-14 + - os: macos-15 runs-on: ${{matrix.os}}