Skip to content

Commit

Permalink
Merge pull request #1153 from vissarion/fix/update_ci
Browse files Browse the repository at this point in the history
Update github actions with newer compiler versions
  • Loading branch information
vissarion authored Jul 7, 2023
2 parents c6933cb + d567e7e commit da3de29
Showing 1 changed file with 57 additions and 8 deletions.
65 changes: 57 additions & 8 deletions .github/workflows/minimal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Copyright (c) 2020 Mateusz Loskot <[email protected]>
# 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
#
# Use, modification and distribution is subject to the Boost Software License,
Expand All @@ -19,7 +19,7 @@ jobs:
##############################################################################
clang:
name: ${{ matrix.b2_toolset }}
runs-on: ubuntu-20.04
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
Expand All @@ -32,39 +32,65 @@ jobs:
clang-7,
clang-8,
clang-9,
clang-10
clang-10,
clang-11,
clang-12,
clang-13,
clang-14
]

include:
- b2_toolset: clang-3.9
b2_cxxstd: 14
version: "3.9"
os: ubuntu-20.04
- b2_toolset: clang-4.0
b2_cxxstd: 14
version: "4.0"
os: ubuntu-20.04
- b2_toolset: clang-5.0
b2_cxxstd: 14
version: "5.0"
os: ubuntu-20.04
- b2_toolset: clang-6.0
b2_cxxstd: 14
version: "6.0"
os: ubuntu-20.04
- b2_toolset: clang-7
b2_cxxstd: 14,17
version: "7"
os: ubuntu-20.04
- b2_toolset: clang-8
b2_cxxstd: 14,17
version: "8"
os: ubuntu-20.04
- b2_toolset: clang-9
# At some point compilation started to fail with 2a from unknown reason
# It may have something to do with the std library
#b2_cxxstd: 14,17,2a
b2_cxxstd: 14,17
version: "9"
os: ubuntu-20.04
- b2_toolset: clang-10
b2_cxxstd: 14,17,2a
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:
- name: Set up environment
id: setenv
Expand Down Expand Up @@ -139,7 +165,7 @@ jobs:
##############################################################################
gcc:
name: ${{ matrix.b2_toolset }}
runs-on: ubuntu-20.04
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
Expand All @@ -149,25 +175,40 @@ jobs:
gcc-6,
gcc-7,
gcc-8,
gcc-9
gcc-9,
gcc-10,
gcc-11
]

include:
- b2_toolset: gcc-5
b2_cxxstd: 14
version: "5"
os: ubuntu-20.04
- b2_toolset: gcc-6
b2_cxxstd: 14
version: "6"
os: ubuntu-20.04
- b2_toolset: gcc-7
b2_cxxstd: 14,17
version: "7"
os: ubuntu-20.04
- b2_toolset: gcc-8
b2_cxxstd: 14,17
version: "8"
os: ubuntu-20.04
- b2_toolset: gcc-9
b2_cxxstd: 14,17,2a
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:
- name: Set up environment
Expand Down Expand Up @@ -205,6 +246,8 @@ jobs:
- name: Install
run: |
# 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 universe"
sudo add-apt-repository "deb http://dk.archive.ubuntu.com/ubuntu/ bionic main"
Expand Down Expand Up @@ -239,12 +282,18 @@ jobs:
fail-fast: false
matrix:
b2_toolset: [
msvc-14.3
msvc-14.3,
msvc-15,
msvc-16,
]

include:
- b2_toolset: msvc-14.3
b2_cxxstd: 14,17,2a
- b2_toolset: msvc-15
b2_cxxstd: 14,17,2a
- b2_toolset: msvc-16
b2_cxxstd: 14,17,2a

steps:
- name: Set up environment
Expand Down

0 comments on commit da3de29

Please sign in to comment.