Merge pull request #1153 from vissarion/fix/update_ci

Update github actions with newer compiler versions
This commit is contained in:
Vissarion Fisikopoulos 2023-07-07 15:07:00 +03:00 committed by GitHub
commit da3de296d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@
# Copyright (c) 2020 Mateusz Loskot <mateusz@loskot.net> # Copyright (c) 2020 Mateusz Loskot <mateusz@loskot.net>
# Copyright (c) 2020-2021 Adam Wulkiewicz, Lodz, Poland # Copyright (c) 2020-2021 Adam Wulkiewicz, Lodz, Poland
# #
# Copyright (c) 2022 Oracle and/or its affiliates. # Copyright (c) 2022-2023 Oracle and/or its affiliates.
# Contributed and/or modified by Vissarion Fysikopoulos, on behalf of Oracle # Contributed and/or modified by Vissarion Fysikopoulos, on behalf of Oracle
# #
# Use, modification and distribution is subject to the Boost Software License, # Use, modification and distribution is subject to the Boost Software License,
@ -19,7 +19,7 @@ jobs:
############################################################################## ##############################################################################
clang: clang:
name: ${{ matrix.b2_toolset }} name: ${{ matrix.b2_toolset }}
runs-on: ubuntu-20.04 runs-on: ${{ matrix.os }}
strategy: strategy:
fail-fast: false fail-fast: false
@ -32,39 +32,65 @@ jobs:
clang-7, clang-7,
clang-8, clang-8,
clang-9, clang-9,
clang-10 clang-10,
clang-11,
clang-12,
clang-13,
clang-14
] ]
include: include:
- b2_toolset: clang-3.9 - b2_toolset: clang-3.9
b2_cxxstd: 14 b2_cxxstd: 14
version: "3.9" version: "3.9"
os: ubuntu-20.04
- b2_toolset: clang-4.0 - b2_toolset: clang-4.0
b2_cxxstd: 14 b2_cxxstd: 14
version: "4.0" version: "4.0"
os: ubuntu-20.04
- b2_toolset: clang-5.0 - b2_toolset: clang-5.0
b2_cxxstd: 14 b2_cxxstd: 14
version: "5.0" version: "5.0"
os: ubuntu-20.04
- b2_toolset: clang-6.0 - b2_toolset: clang-6.0
b2_cxxstd: 14 b2_cxxstd: 14
version: "6.0" version: "6.0"
os: ubuntu-20.04
- b2_toolset: clang-7 - b2_toolset: clang-7
b2_cxxstd: 14,17 b2_cxxstd: 14,17
version: "7" version: "7"
os: ubuntu-20.04
- b2_toolset: clang-8 - b2_toolset: clang-8
b2_cxxstd: 14,17 b2_cxxstd: 14,17
version: "8" version: "8"
os: ubuntu-20.04
- b2_toolset: clang-9 - b2_toolset: clang-9
# At some point compilation started to fail with 2a from unknown reason # At some point compilation started to fail with 2a from unknown reason
# It may have something to do with the std library # It may have something to do with the std library
#b2_cxxstd: 14,17,2a #b2_cxxstd: 14,17,2a
b2_cxxstd: 14,17 b2_cxxstd: 14,17
version: "9" version: "9"
os: ubuntu-20.04
- b2_toolset: clang-10 - b2_toolset: clang-10
b2_cxxstd: 14,17,2a b2_cxxstd: 14,17,2a
version: "10" version: "10"
os: ubuntu-20.04
- b2_toolset: clang-11
b2_cxxstd: 14,17,2a
version: "11"
os: ubuntu-22.04
- b2_toolset: clang-12
b2_cxxstd: 14,17,2a
version: "12"
os: ubuntu-22.04
- b2_toolset: clang-13
b2_cxxstd: 14,17,2a
version: "13"
os: ubuntu-22.04
- b2_toolset: clang-14
b2_cxxstd: 14,17,2a
version: "14"
os: ubuntu-22.04
steps: steps:
- name: Set up environment - name: Set up environment
id: setenv id: setenv
@ -139,7 +165,7 @@ jobs:
############################################################################## ##############################################################################
gcc: gcc:
name: ${{ matrix.b2_toolset }} name: ${{ matrix.b2_toolset }}
runs-on: ubuntu-20.04 runs-on: ${{ matrix.os }}
strategy: strategy:
fail-fast: false fail-fast: false
@ -149,25 +175,40 @@ jobs:
gcc-6, gcc-6,
gcc-7, gcc-7,
gcc-8, gcc-8,
gcc-9 gcc-9,
gcc-10,
gcc-11
] ]
include: include:
- b2_toolset: gcc-5 - b2_toolset: gcc-5
b2_cxxstd: 14 b2_cxxstd: 14
version: "5" version: "5"
os: ubuntu-20.04
- b2_toolset: gcc-6 - b2_toolset: gcc-6
b2_cxxstd: 14 b2_cxxstd: 14
version: "6" version: "6"
os: ubuntu-20.04
- b2_toolset: gcc-7 - b2_toolset: gcc-7
b2_cxxstd: 14,17 b2_cxxstd: 14,17
version: "7" version: "7"
os: ubuntu-20.04
- b2_toolset: gcc-8 - b2_toolset: gcc-8
b2_cxxstd: 14,17 b2_cxxstd: 14,17
version: "8" version: "8"
os: ubuntu-20.04
- b2_toolset: gcc-9 - b2_toolset: gcc-9
b2_cxxstd: 14,17,2a b2_cxxstd: 14,17,2a
version: "9" version: "9"
os: ubuntu-20.04
- b2_toolset: gcc-10
b2_cxxstd: 14,17,2a
version: "10"
os: ubuntu-22.04
- b2_toolset: gcc-11
b2_cxxstd: 14,17,2a
version: "11"
os: ubuntu-22.04
steps: steps:
- name: Set up environment - name: Set up environment
@ -205,6 +246,8 @@ jobs:
- name: Install - name: Install
run: | run: |
# Required for compilers not available in ubuntu 20.04 # Required for compilers not available in ubuntu 20.04
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3B4FE6ACC0B21F32
sudo add-apt-repository "deb http://dk.archive.ubuntu.com/ubuntu/ xenial main" sudo add-apt-repository "deb http://dk.archive.ubuntu.com/ubuntu/ xenial main"
sudo add-apt-repository "deb http://dk.archive.ubuntu.com/ubuntu/ xenial universe" sudo add-apt-repository "deb http://dk.archive.ubuntu.com/ubuntu/ xenial universe"
sudo add-apt-repository "deb http://dk.archive.ubuntu.com/ubuntu/ bionic main" sudo add-apt-repository "deb http://dk.archive.ubuntu.com/ubuntu/ bionic main"
@ -239,12 +282,18 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
b2_toolset: [ b2_toolset: [
msvc-14.3 msvc-14.3,
msvc-15,
msvc-16,
] ]
include: include:
- b2_toolset: msvc-14.3 - b2_toolset: msvc-14.3
b2_cxxstd: 14,17,2a b2_cxxstd: 14,17,2a
- b2_toolset: msvc-15
b2_cxxstd: 14,17,2a
- b2_toolset: msvc-16
b2_cxxstd: 14,17,2a
steps: steps:
- name: Set up environment - name: Set up environment