mirror of
https://github.com/boostorg/beast.git
synced 2025-08-02 14:24:31 +02:00
Update CI
This commit is contained in:
committed by
Klemens Morgenstern
parent
3ae7e3023f
commit
b4e0f0d560
@@ -52,6 +52,7 @@ def main(ctx):
|
||||
linux_cxx("clang 12", "clang++-12", packages="clang-12 libc6-dbg libc++-dev libstdc++-9-dev", llvm_os="focal", llvm_ver="12", buildtype="boost", buildscript="drone", image="cppalliance/droneubuntu2004:1", environment={'B2_TOOLSET': 'clang', 'COMPILER': 'clang++-12', 'B2_CXXSTD': '11,14,17,20', 'DRONE_JOB_UUID': '9e6a55b6b5'}, globalenv=globalenv),
|
||||
linux_cxx("clang 13", "clang++-13", packages="clang-13 libc6-dbg libc++-dev libstdc++-10-dev", llvm_os="jammy", llvm_ver="13", buildtype="boost", buildscript="drone", image="cppalliance/droneubuntu2204:1", environment={'B2_TOOLSET': 'clang', 'COMPILER': 'clang++-13', 'B2_CXXSTD': '11,14,17,20'}, globalenv=globalenv),
|
||||
linux_cxx("clang 14", "clang++-14", packages="clang-14 libc6-dbg libc++-dev libstdc++-10-dev", llvm_os="jammy", llvm_ver="14", buildtype="boost", buildscript="drone", image="cppalliance/droneubuntu2204:1", environment={'B2_TOOLSET': 'clang', 'COMPILER': 'clang++-14', 'B2_CXXSTD': '11,14,17,20'}, globalenv=globalenv),
|
||||
linux_cxx("clang 15", "clang++-15", packages="clang-15 libc6-dbg libc++-dev libstdc++-10-dev", llvm_os="jammy", llvm_ver="15", buildtype="boost", buildscript="drone", image="cppalliance/droneubuntu2204:1", environment={'B2_TOOLSET': 'clang', 'COMPILER': 'clang++-15', 'B2_CXXSTD': '11,14,17,20'}, globalenv=globalenv),
|
||||
linux_cxx("clang 6.0 libc++", "clang++-6.0", packages="clang-6.0 libc6-dbg libc++-dev libstdc++-8-dev libc++abi-dev", llvm_os="bionic", llvm_ver="6.0", buildtype="boost", buildscript="drone", image=linuxglobalimage, environment={'B2_TOOLSET': 'clang', 'COMPILER': 'clang++-6.0', 'B2_CXXSTD': '11,14', 'B2_STDLIB': 'libc++', 'DRONE_JOB_UUID': 'b3f0c7f6bb'}, globalenv=globalenv),
|
||||
osx_cxx("clang", "g++", packages="", buildtype="boost", buildscript="drone", environment={'B2_TOOLSET': 'clang', 'B2_CXXSTD': '11,17', 'DRONE_JOB_UUID': '91032ad7bb'}, globalenv=globalenv),
|
||||
linux_cxx("coverity", "g++", packages="", buildtype="coverity", buildscript="drone", image=linuxglobalimage, environment={'COMMENT': 'Coverity Scan', 'B2_TOOLSET': 'clang', 'DRONE_JOB_UUID': '472b07b9fc'}, globalenv=globalenv),
|
||||
|
66
.github/workflows/ci.yml
vendored
66
.github/workflows/ci.yml
vendored
@@ -8,6 +8,10 @@ env:
|
||||
jobs:
|
||||
posix:
|
||||
if: true
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
@@ -16,7 +20,7 @@ jobs:
|
||||
# minimum requirement is gcc 4.8
|
||||
- toolset: gcc-4.8
|
||||
cxxstd: "11"
|
||||
os: ubuntu-20.04
|
||||
os: ubuntu-22.04
|
||||
container: ubuntu:16.04
|
||||
install: g++-4.8
|
||||
supported: true
|
||||
@@ -24,39 +28,42 @@ jobs:
|
||||
# It dies with ICE when compiling
|
||||
- toolset: gcc-5
|
||||
cxxstd: "11,14,1z"
|
||||
os: ubuntu-20.04
|
||||
os: ubuntu-22.04
|
||||
container: ubuntu:16.04
|
||||
install: g++-5
|
||||
supported: true
|
||||
- toolset: gcc-6
|
||||
cxxstd: "11,14,1z"
|
||||
os: ubuntu-20.04
|
||||
os: ubuntu-22.04
|
||||
container: ubuntu:16.04
|
||||
install: g++-6
|
||||
supported: true
|
||||
- toolset: gcc-7
|
||||
cxxstd: "11,14,17"
|
||||
os: ubuntu-18.04
|
||||
os: ubuntu-22.04
|
||||
container: ubuntu:18.04
|
||||
install: g++-7
|
||||
supported: true
|
||||
- toolset: gcc-8
|
||||
cxxstd: "11,14,17,2a"
|
||||
os: ubuntu-18.04
|
||||
os: ubuntu-22.04
|
||||
container: ubuntu:18.04
|
||||
install: g++-8
|
||||
supported: true
|
||||
- toolset: gcc-9
|
||||
cxxstd: "11,14,17,2a"
|
||||
os: ubuntu-18.04
|
||||
os: ubuntu-22.04
|
||||
container: ubuntu:18.04
|
||||
install: g++-9
|
||||
supported: true
|
||||
- toolset: gcc-10
|
||||
cxxstd: "11,14,17,2a"
|
||||
os: ubuntu-18.04
|
||||
os: ubuntu-22.04
|
||||
install: g++-10
|
||||
supported: true
|
||||
- toolset: gcc-11
|
||||
cxxstd: "11,14,17,20"
|
||||
os: ubuntu-20.04
|
||||
os: ubuntu-22.04
|
||||
install: g++-11
|
||||
supported: true
|
||||
# clang 3.5 not supported
|
||||
@@ -64,42 +71,42 @@ jobs:
|
||||
- toolset: clang
|
||||
compiler: clang++-3.6
|
||||
cxxstd: "11,14"
|
||||
os: ubuntu-20.04
|
||||
os: ubuntu-22.04
|
||||
container: ubuntu:16.04
|
||||
install: clang-3.6
|
||||
supported: true
|
||||
- toolset: clang
|
||||
compiler: clang++-3.7
|
||||
cxxstd: "11,14"
|
||||
os: ubuntu-20.04
|
||||
os: ubuntu-22.04
|
||||
container: ubuntu:16.04
|
||||
install: clang-3.7
|
||||
supported: true
|
||||
- toolset: clang
|
||||
compiler: clang++-3.8
|
||||
cxxstd: "11,14"
|
||||
os: ubuntu-20.04
|
||||
os: ubuntu-22.04
|
||||
container: ubuntu:16.04
|
||||
install: clang-3.8
|
||||
supported: true
|
||||
- toolset: clang
|
||||
compiler: clang++-3.9
|
||||
cxxstd: "11,14"
|
||||
os: ubuntu-20.04
|
||||
os: ubuntu-22.04
|
||||
container: ubuntu:16.04
|
||||
install: clang-3.9
|
||||
supported: true
|
||||
- toolset: clang
|
||||
compiler: clang++-4.0
|
||||
cxxstd: "11,14"
|
||||
os: ubuntu-20.04
|
||||
os: ubuntu-22.04
|
||||
container: ubuntu:16.04
|
||||
install: clang-4.0
|
||||
supported: true
|
||||
- toolset: clang
|
||||
compiler: clang++-5.0
|
||||
cxxstd: "11,14,1z"
|
||||
os: ubuntu-20.04
|
||||
os: ubuntu-22.04
|
||||
container: ubuntu:16.04
|
||||
install: clang-5.0
|
||||
supported: true
|
||||
@@ -107,25 +114,29 @@ jobs:
|
||||
install: clang-6.0
|
||||
compiler: clang++-6.0
|
||||
cxxstd: "11,14,17"
|
||||
os: ubuntu-18.04
|
||||
os: ubuntu-22.04
|
||||
container: ubuntu:18.04
|
||||
supported: true
|
||||
- toolset: clang
|
||||
install: clang-7
|
||||
compiler: clang++-7
|
||||
cxxstd: "11,14"
|
||||
os: ubuntu-18.04
|
||||
os: ubuntu-22.04
|
||||
container: ubuntu:18.04
|
||||
supported: true
|
||||
- toolset: clang
|
||||
install: clang-8
|
||||
compiler: clang++-8
|
||||
cxxstd: "11,14,17"
|
||||
os: ubuntu-20.04
|
||||
os: ubuntu-22.04
|
||||
container: ubuntu:18.04
|
||||
supported: true
|
||||
- toolset: clang
|
||||
install: clang-9
|
||||
compiler: clang++-9
|
||||
cxxstd: "11,14,17,2a"
|
||||
os: ubuntu-20.04
|
||||
os: ubuntu-22.04
|
||||
container: ubuntu:18.04
|
||||
supported: "Causes segfault on GHA CI, not on official image"
|
||||
- toolset: clang
|
||||
install: clang-10
|
||||
@@ -143,7 +154,19 @@ jobs:
|
||||
install: clang-12
|
||||
compiler: clang++-12
|
||||
cxxstd: "11,14,17,20"
|
||||
os: ubuntu-20.04
|
||||
os: ubuntu-22.04
|
||||
supported: true
|
||||
- toolset: clang
|
||||
install: clang-13
|
||||
compiler: clang++-13
|
||||
cxxstd: "11,14,17,20"
|
||||
os: ubuntu-22.04
|
||||
supported: true
|
||||
- toolset: clang
|
||||
install: clang-14
|
||||
compiler: clang++-14
|
||||
cxxstd: "11,14,17,20"
|
||||
os: ubuntu-22.04
|
||||
supported: true
|
||||
# macos
|
||||
- description: macos-cxx11
|
||||
@@ -181,6 +204,11 @@ jobs:
|
||||
sudo apt-add-repository ppa:git-core/ppa
|
||||
sudo apt-get -o Acquire::Retries=3 update && apt-get -o Acquire::Retries=3 -y install git
|
||||
python_version=$(python3 -c 'import sys; print("{0.major}.{0.minor}".format(sys.version_info))')
|
||||
if [[ ${python_version} =~ ^3\.[0-5]$ ]]; then
|
||||
true
|
||||
else
|
||||
apt-get install -y python3-distutils
|
||||
fi
|
||||
sudo wget https://bootstrap.pypa.io/pip/$python_version/get-pip.py
|
||||
sudo python3 get-pip.py
|
||||
sudo /usr/local/bin/pip install cmake
|
||||
|
Reference in New Issue
Block a user