Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add recent gcc and clang versions to CI test matrix #1714

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
178 changes: 162 additions & 16 deletions .github/workflows/range-v3-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down Expand Up @@ -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,
Expand All @@ -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",
Expand Down Expand Up @@ -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
Expand Down