From 7f87a22ae5224089d62562b7bace4dfd95dd82ec Mon Sep 17 00:00:00 2001 From: Eric Niebler Date: Wed, 22 Jun 2022 11:50:40 -0700 Subject: [PATCH 1/2] add recent gcc and clang versions to CI test matrix --- .github/workflows/range-v3-ci.yml | 178 +++++++++++++++++++++++++++--- 1 file changed, 162 insertions(+), 16 deletions(-) diff --git a/.github/workflows/range-v3-ci.yml b/.github/workflows/range-v3-ci.yml index c7b71d4bd..e350fbf58 100644 --- a/.github/workflows/range-v3-ci.yml +++ b/.github/workflows/range-v3-ci.yml @@ -156,42 +156,79 @@ jobs: cxx_concepts: false } - { - name: "Linux GCC 9 Debug (C++20)", artifact: "Linux.tar.xz", + name: "Linux GCC 9 Release (C++20, Concepts)", artifact: "Linux.tar.xz", os: ubuntu-latest, - build_type: Debug, + build_type: RelWithDebInfo, cc: "gcc-9", cxx: "g++-9", cxx_standard: 20, - cxx_concepts: false + } + + # GCC-10 + - { + name: "Linux GCC 10 Debug (C++17)", artifact: "Linux.tar.xz", + os: ubuntu-latest, + build_type: Debug, + cc: "gcc-10", cxx: "g++-10", + cxx_standard: 17 + } + - { + name: "Linux GCC 10 Debug (C++20, Concepts)", artifact: "Linux.tar.xz", + os: ubuntu-latest, + build_type: Debug, + cc: "gcc-10", cxx: "g++-10", + cxx_standard: 20 } - { - name: "Linux GCC 9 Release (C++20)", artifact: "Linux.tar.xz", + name: "Linux GCC 10 Release (C++20, Concepts)", artifact: "Linux.tar.xz", os: ubuntu-latest, build_type: RelWithDebInfo, - cc: "gcc-9", cxx: "g++-9", - cxx_standard: 20, - cxx_concepts: false + cc: "gcc-10", cxx: "g++-10", + cxx_standard: 20 } + + # GCC-11 - { - name: "Linux GCC 9 Release (C++20, Concepts)", artifact: "Linux.tar.xz", + name: "Linux GCC 11 Debug (C++17)", artifact: "Linux.tar.xz", + os: ubuntu-latest, + build_type: Debug, + cc: "gcc-11", cxx: "g++-11", + cxx_standard: 17 + } + - { + name: "Linux GCC 11 Debug (C++20, Concepts)", artifact: "Linux.tar.xz", + os: ubuntu-latest, + build_type: Debug, + cc: "gcc-11", cxx: "g++-11", + cxx_standard: 20 + } + - { + name: "Linux GCC 11 Release (C++20, Concepts)", artifact: "Linux.tar.xz", os: ubuntu-latest, build_type: RelWithDebInfo, - cc: "gcc-9", cxx: "g++-9", - cxx_standard: 20, + cc: "gcc-11", cxx: "g++-11", + cxx_standard: 20 } - # GCC-10 + # GCC-12 - { - name: "Linux GCC 10 Debug (C++20, Concepts)", artifact: "Linux.tar.xz", + name: "Linux GCC 12 Debug (C++17)", artifact: "Linux.tar.xz", os: ubuntu-latest, build_type: Debug, - cc: "gcc-10", cxx: "g++-10", + cc: "gcc-12", cxx: "g++-12", + cxx_standard: 17 + } + - { + name: "Linux GCC 12 Debug (C++20, Concepts)", artifact: "Linux.tar.xz", + os: ubuntu-latest, + build_type: Debug, + cc: "gcc-12", cxx: "g++-12", cxx_standard: 20 } - { - name: "Linux GCC 10 Release (C++20, Concepts)", artifact: "Linux.tar.xz", + name: "Linux GCC 12 Release (C++20, Concepts)", artifact: "Linux.tar.xz", os: ubuntu-latest, build_type: RelWithDebInfo, - cc: "gcc-10", cxx: "g++-10", + cc: "gcc-12", cxx: "g++-12", cxx_standard: 20 } @@ -270,6 +307,13 @@ jobs: } # Clang-10 + - { + name: "Linux Clang 10 Release (C++17)", artifact: "Linux.tar.xz", + os: ubuntu-latest, + build_type: RelWithDebInfo, + cc: "clang-10", cxx: "clang++-10", + cxx_standard: 17, + } - { name: "Linux Clang 10 Debug (C++20 / ASAN)", artifact: "Linux.tar.xz", os: ubuntu-latest, @@ -287,6 +331,106 @@ jobs: cxx_standard: 20, } + # Clang-11 + - { + name: "Linux Clang 11 Release (C++17)", artifact: "Linux.tar.xz", + os: ubuntu-latest, + build_type: RelWithDebInfo, + cc: "clang-11", cxx: "clang++-11", + cxx_standard: 17, + } + - { + name: "Linux Clang 11 Debug (C++20 / ASAN)", artifact: "Linux.tar.xz", + os: ubuntu-latest, + build_type: Debug, + cc: "clang-11", cxx: "clang++-11", + cxx_standard: 20, + cxx_asan: true, + cxx_concepts: false + } + - { + name: "Linux Clang 11 Release (C++20 / Concepts)", artifact: "Linux.tar.xz", + os: ubuntu-latest, + build_type: RelWithDebInfo, + cc: "clang-11", cxx: "clang++-11", + cxx_standard: 20, + } + + # Clang-12 + - { + name: "Linux Clang 12 Release (C++17)", artifact: "Linux.tar.xz", + os: ubuntu-latest, + build_type: RelWithDebInfo, + cc: "clang-12", cxx: "clang++-12", + cxx_standard: 17, + } + - { + name: "Linux Clang 12 Debug (C++20 / ASAN)", artifact: "Linux.tar.xz", + os: ubuntu-latest, + build_type: Debug, + cc: "clang-12", cxx: "clang++-12", + cxx_standard: 20, + cxx_asan: true, + cxx_concepts: false + } + - { + name: "Linux Clang 12 Release (C++20 / Concepts)", artifact: "Linux.tar.xz", + os: ubuntu-latest, + build_type: RelWithDebInfo, + cc: "clang-12", cxx: "clang++-12", + cxx_standard: 20, + } + + # Clang-13 + - { + name: "Linux Clang 13 Release (C++17)", artifact: "Linux.tar.xz", + os: ubuntu-latest, + build_type: RelWithDebInfo, + cc: "clang-13", cxx: "clang++-13", + cxx_standard: 17, + } + - { + name: "Linux Clang 13 Debug (C++20 / ASAN)", artifact: "Linux.tar.xz", + os: ubuntu-latest, + build_type: Debug, + cc: "clang-13", cxx: "clang++-13", + cxx_standard: 20, + cxx_asan: true, + cxx_concepts: false + } + - { + name: "Linux Clang 13 Release (C++20 / Concepts)", artifact: "Linux.tar.xz", + os: ubuntu-latest, + build_type: RelWithDebInfo, + cc: "clang-13", cxx: "clang++-13", + cxx_standard: 20, + } + + # Clang-14 + - { + name: "Linux Clang 14 Release (C++17)", artifact: "Linux.tar.xz", + os: ubuntu-latest, + build_type: RelWithDebInfo, + cc: "clang-14", cxx: "clang++-14", + cxx_standard: 17, + } + - { + name: "Linux Clang 14 Debug (C++20 / ASAN)", artifact: "Linux.tar.xz", + os: ubuntu-latest, + build_type: Debug, + cc: "clang-14", cxx: "clang++-14", + cxx_standard: 20, + cxx_asan: true, + cxx_concepts: false + } + - { + name: "Linux Clang 14 Release (C++20 / Concepts)", artifact: "Linux.tar.xz", + os: ubuntu-latest, + build_type: RelWithDebInfo, + cc: "clang-14", cxx: "clang++-14", + cxx_standard: 20, + } + # AppleClang - { name: "macOS Clang Debug (C++17)", artifact: "macOS.tar.xz", @@ -404,7 +548,9 @@ jobs: shell: bash working-directory: ${{ env.HOME }} run: | - sudo apt-get install -y ${{matrix.config.cc}} ${{matrix.config.cxx}} + sudo add-apt-repository ppa:ubuntu-toolchain-r/ppa + sudo apt update + sudo apt install -y ${{matrix.config.cc}} ${{matrix.config.cxx}} - name: Install libc++ id: install_libcxx From 5c33bfdf4e5ec6569700224a981f2f0b02ee7c9b Mon Sep 17 00:00:00 2001 From: Barry Revzin Date: Sat, 17 Dec 2022 16:10:49 -0600 Subject: [PATCH 2/2] Pointless commit to just retrigger actions --- .github/workflows/range-v3-ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/range-v3-ci.yml b/.github/workflows/range-v3-ci.yml index e350fbf58..6375ca749 100644 --- a/.github/workflows/range-v3-ci.yml +++ b/.github/workflows/range-v3-ci.yml @@ -160,9 +160,10 @@ jobs: os: ubuntu-latest, build_type: RelWithDebInfo, cc: "gcc-9", cxx: "g++-9", - cxx_standard: 20, + cxx_standard: 20, } - + + # GCC-10 - { name: "Linux GCC 10 Debug (C++17)", artifact: "Linux.tar.xz",