From c617ceec375a0dde0fbf5444aac0faf849a23a39 Mon Sep 17 00:00:00 2001 From: Tim Blechmann Date: Fri, 13 Dec 2024 10:03:30 +0800 Subject: [PATCH] update github actions --- .github/workflows/ci.yml | 96 ++++++++++++++++------------------------ 1 file changed, 37 insertions(+), 59 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7eb2b6e..8a766da 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,6 @@ 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: clang install: clang-10 compiler: clang++-10 @@ -103,50 +67,64 @@ jobs: install: clang-12 compiler: clang++-12 cxxstd: "14,17,20" - os: ubuntu-22.04 + os: ubuntu-latest supported: true - toolset: clang install: clang-13 compiler: clang++-13 cxxstd: "14,17,20" - os: ubuntu-22.04 + os: ubuntu-latest supported: true - toolset: clang install: clang-14 compiler: clang++-14 cxxstd: "14,17,20" - os: ubuntu-22.04 + os: ubuntu-latest supported: true - toolset: clang install: clang-15 compiler: clang++-15 cxxstd: "14,17,20" - os: ubuntu-22.04 + os: ubuntu-latest + supported: true + - toolset: clang + install: clang-16 + compiler: clang++-16 + cxxstd: "14,17,20" + os: ubuntu-latest + supported: true + - toolset: clang + compiler: clang++-17 + cxxstd: "14,17,20,2b" + os: ubuntu-latest + install: clang-17 + supported: true + - toolset: clang + compiler: clang++-18 + cxxstd: "14,17,20,2b" + os: ubuntu-latest + install: clang-18 supported: true - # - toolset: clang - # install: clang-16 - # compiler: clang++-16 - # cxxstd: "14,17,20" - # os: ubuntu-22.04 - # supported: true # macos - - description: macos-11 - toolset: clang - cxxstd: "14,17,2a" - os: macos-11 - supported: true - description: macos-12 toolset: clang cxxstd: "14,17,20" - os: macos-11 + os: macos-12 supported: true - 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,2a" + os: macos-14 supported: true + + needs: [runner-selection] # runs-on: ${{ fromJSON(needs.runner-selection.outputs.labelmatrix)[matrix.os] }} runs-on: ${{matrix.os}} @@ -349,11 +327,11 @@ jobs: fail-fast: false matrix: include: - - os: ubuntu-20.04 - os: ubuntu-22.04 - - os: macos-11 + - os: ubuntu-24.04 - os: macos-12 - os: macos-13 + - os: macos-14 runs-on: ${{matrix.os}} @@ -397,11 +375,11 @@ jobs: fail-fast: false matrix: include: - - os: ubuntu-20.04 - os: ubuntu-22.04 - - os: macos-11 + - os: ubuntu-24.04 - os: macos-12 - os: macos-13 + - os: macos-14 runs-on: ${{matrix.os}} @@ -455,11 +433,11 @@ jobs: fail-fast: false matrix: include: - - os: ubuntu-20.04 - os: ubuntu-22.04 - - os: macos-11 + - os: ubuntu-24.04 - os: macos-12 - os: macos-13 + - os: macos-14 runs-on: ${{matrix.os}}