Skip to content

Commit

Permalink
Try to use a more recent version of cmake (#163)
Browse files Browse the repository at this point in the history
* Try the latest version of CMake for Github actions: 3.24.0

* Try another version of CMake for Github actions: 3.18.0

* Try another version of CMake for Github actions: 3.19

* Try another version of CMake for Github actions: 3.19

* Revert "Try another version of CMake for Github actions: 3.19"

This reverts commit d505382.

* Revert "Try another version of CMake for Github actions: 3.19"

This reverts commit 4abd471.

* Added GCC 12 support in Gitlab Actions

* Don't try GCC 12 yet
  • Loading branch information
glynos authored Aug 6, 2022
1 parent 28111d4 commit ecdb4eb
Showing 1 changed file with 25 additions and 9 deletions.
34 changes: 25 additions & 9 deletions .github/workflows/skyr-url-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: skyr-url CI
on: [ push, pull_request ]

env:
CMAKE_VERSION: 3.17.3
CMAKE_VERSION: 3.18.6
NINJA_VERSION: 1.11.0

jobs:
Expand Down Expand Up @@ -61,6 +61,22 @@ jobs:
cxx_standard: 20,
}

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

# Clang-10
- {
name: "Linux Clang 10 Debug (C++20)", artifact: "Linux.tar.xz",
Expand Down Expand Up @@ -278,14 +294,14 @@ jobs:
sudo apt-get update
sudo apt-get -y install g++-11
- name: Install GCC 12
id: install_gcc_12
if: startsWith(matrix.config.os, 'ubuntu') && ( matrix.config.cxx == 'g++-12' )
shell: bash
working-directory: ${{ env.HOME }}
run: |
sudo apt-get update
sudo apt-get -y install g++-12
# - name: Install GCC 12
# id: install_gcc_12
# if: startsWith(matrix.config.os, 'ubuntu') && ( matrix.config.cxx == 'g++-12' )
# shell: bash
# working-directory: ${{ env.HOME }}
# run: |
# sudo apt-get update
# sudo apt-get -y install g++-12

- name: Install Clang 8
id: install_clang_8
Expand Down

0 comments on commit ecdb4eb

Please sign in to comment.