From f4045037fa65f72f37b10321f17925277a4cc6a2 Mon Sep 17 00:00:00 2001 From: joaquintides Date: Sun, 22 Jun 2025 12:37:53 +0200 Subject: [PATCH] upgraded CI (#82) --- .drone.jsonnet | 18 ++++++++++++++---- .github/workflows/ci.yml | 38 +++++++++++++++++++++----------------- test/Jamfile.v2 | 1 + 3 files changed, 36 insertions(+), 21 deletions(-) diff --git a/.drone.jsonnet b/.drone.jsonnet index 781ef5a..b33fcc0 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -429,13 +429,23 @@ local windows_pipeline(name, image, environment, arch = "amd64") = ), macos_pipeline( - "MacOS 10.15 Xcode 12.2 UBSAN", - { TOOLSET: 'clang', COMPILER: 'clang++', CXXSTD: '11,14,17,2a' } + ubsan, + "MacOS 10.15 Xcode 12.2 UBSAN (11,14)", + { TOOLSET: 'clang', COMPILER: 'clang++', CXXSTD: '11,14' } + ubsan, ), macos_pipeline( - "MacOS 10.15 Xcode 12.2 ASAN", - { TOOLSET: 'clang', COMPILER: 'clang++', CXXSTD: '11,14,17,2a' } + asan, + "MacOS 10.15 Xcode 12.2 UBSAN (17,2a)", + { TOOLSET: 'clang', COMPILER: 'clang++', CXXSTD: '17,2a' } + ubsan, + ), + + macos_pipeline( + "MacOS 10.15 Xcode 12.2 ASAN (11,14)", + { TOOLSET: 'clang', COMPILER: 'clang++', CXXSTD: '11,14' } + asan, + ), + + macos_pipeline( + "MacOS 10.15 Xcode 12.2 ASAN (17,2a)", + { TOOLSET: 'clang', COMPILER: 'clang++', CXXSTD: '17,2a' } + asan, ), macos_pipeline( diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f359c39..4231b68 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,6 +7,7 @@ on: - master - develop - feature/** + - fix/** env: UBSAN_OPTIONS: print_stacktrace=1 @@ -37,17 +38,20 @@ jobs: address-model: 32,64 - toolset: gcc-7 cxxstd: "11,14,17" - os: ubuntu-20.04 + container: ubuntu:20.04 + os: ubuntu-latest install: g++-7-multilib address-model: 32,64 - toolset: gcc-8 cxxstd: "11,14,17,2a" - os: ubuntu-20.04 + container: ubuntu:20.04 + os: ubuntu-latest install: g++-8-multilib address-model: 32,64 - toolset: gcc-9 cxxstd: "11,14,17,2a" - os: ubuntu-20.04 + container: ubuntu:20.04 + os: ubuntu-latest install: g++-9-multilib address-model: 32,64 - toolset: gcc-10 @@ -108,25 +112,33 @@ jobs: - toolset: clang compiler: clang++-8 cxxstd: "11,14,17" - os: ubuntu-20.04 + container: ubuntu:20.04 + os: ubuntu-latest install: clang-8 - toolset: clang compiler: clang++-9 cxxstd: "11,14,17,2a" - os: ubuntu-20.04 + container: ubuntu:20.04 + os: ubuntu-latest install: clang-9 - toolset: clang compiler: clang++-10 cxxstd: "11,14,17,2a" - os: ubuntu-20.04 + container: ubuntu:20.04 + os: ubuntu-latest + install: clang-10 - toolset: clang compiler: clang++-11 cxxstd: "11,14,17,2a" - os: ubuntu-20.04 + container: ubuntu:20.04 + os: ubuntu-latest + install: clang-11 - toolset: clang compiler: clang++-12 cxxstd: "11,14,17,20" - os: ubuntu-20.04 + container: ubuntu:20.04 + os: ubuntu-latest + install: clang-12 - toolset: clang compiler: clang++-13 cxxstd: "11,14,17,20,2b" @@ -238,14 +250,6 @@ jobs: fail-fast: false matrix: include: - - toolset: msvc-14.0 - cxxstd: 14,latest - addrmd: 32,64 - os: windows-2019 - - toolset: msvc-14.2 - cxxstd: "14,17,20,latest" - addrmd: 32,64 - os: windows-2019 - toolset: msvc-14.3 cxxstd: "14,17,20,latest" addrmd: 32,64 @@ -257,7 +261,7 @@ jobs: - toolset: gcc cxxstd: "11,14,17,2a" addrmd: 64 - os: windows-2019 + os: windows-2022 runs-on: ${{matrix.os}} diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index 81f561d..5a0b6e6 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -8,6 +8,7 @@ # See http://www.boost.org/libs/multi_index for library home page. import os ; +import testing ; import type ; # Windows Vista UAC has an heuristic by which executable files whose name