Skip to content

Added support for clang 12 compiler #156

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

Merged
merged 2 commits into from
May 8, 2021
Merged
Changes from all commits
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
58 changes: 56 additions & 2 deletions .github/workflows/skyr-url-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ jobs:
cxx_standard: 20
}


# GCC-10
- {
name: "Linux GCC 10 Debug (C++17)", artifact: "Linux.tar.xz",
Expand Down Expand Up @@ -108,6 +107,22 @@ jobs:
cxx_standard: 20,
}

# GCC-11
- {
name: "Linux GCC 11 Debug (C++20)", 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)", artifact: "Linux.tar.xz",
os: ubuntu-latest,
build_type: RelWithDebInfo,
cc: "gcc-11", cxx: "g++-11",
cxx_standard: 20,
}

# Clang-8
- {
name: "Linux Clang 8 Debug (C++17)", artifact: "Linux.tar.xz",
Expand Down Expand Up @@ -200,6 +215,22 @@ jobs:
cxx_standard: 20,
}

# Clang-12
- {
name: "Linux Clang 12 Debug (C++20)", artifact: "Linux.tar.xz",
os: ubuntu-latest,
build_type: Debug,
cc: "clang-12", cxx: "clang++-12",
cxx_standard: 20,
}
- {
name: "Linux Clang 12 Release (C++20)", artifact: "Linux.tar.xz",
os: ubuntu-latest,
build_type: RelWithDebInfo,
cc: "clang-12", cxx: "clang++-12",
cxx_standard: 20,
}

# AppleClang
- {
name: "macOS Clang Debug (C++17)", artifact: "macOS.tar.xz",
Expand Down Expand Up @@ -325,6 +356,15 @@ jobs:
sudo apt-get update
sudo apt-get -y install g++-8

- name: Install GCC 11
id: install_gcc_11
if: startsWith(matrix.config.os, 'ubuntu') && ( matrix.config.cxx == 'g++-11' )
shell: bash
working-directory: ${{ env.HOME }}
run: |
sudo apt-get update
sudo apt-get -y install g++-11

- name: Install Clang 8
id: install_clang_8
if: startsWith(matrix.config.os, 'ubuntu') && ( matrix.config.cxx == 'clang++-8' )
Expand Down Expand Up @@ -354,6 +394,16 @@ jobs:
chmod +x llvm.sh
sudo ./llvm.sh 11

- name: Install Clang 12
id: install_clang_12
if: startsWith(matrix.config.os, 'ubuntu') && ( matrix.config.cxx == 'clang++-12' )
shell: bash
working-directory: ${{ env.HOME }}
run: |
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo ./llvm.sh 12

- name: Install vcpkg (Linux)
id: vcpkg_linux
if: startsWith(matrix.config.os, 'ubuntu')
Expand Down Expand Up @@ -428,8 +478,12 @@ jobs:
"${{ matrix.config.name }}" STREQUAL "Windows MSVC 2019 Release (C++20)" OR
"${{ matrix.config.name }}" STREQUAL "Linux GCC 10 Debug (C++20)" OR
"${{ matrix.config.name }}" STREQUAL "Linux GCC 10 Release (C++20)" OR
"${{ matrix.config.name }}" STREQUAL "Linux GCC 11 Debug (C++20)" OR
"${{ matrix.config.name }}" STREQUAL "Linux GCC 11 Release (C++20)" OR
"${{ matrix.config.name }}" STREQUAL "Linux Clang 11 Debug (C++20)" OR
"${{ matrix.config.name }}" STREQUAL "Linux Clang 11 Release (C++20)"
"${{ matrix.config.name }}" STREQUAL "Linux Clang 11 Release (C++20)" OR
"${{ matrix.config.name }}" STREQUAL "Linux Clang 12 Debug (C++20)" OR
"${{ matrix.config.name }}" STREQUAL "Linux Clang 12 Release (C++20)"
)
set(BUILD_V2 ON)
endif()
Expand Down