From 3129c546a3870575c640f0d090aae7d44807bc3b Mon Sep 17 00:00:00 2001 From: Peter Csajtai Date: Sat, 27 Jul 2024 22:12:17 +0200 Subject: [PATCH] Try to fix ci --- .github/workflows/ci.yml | 13 +++++++++++-- .github/workflows/sanitize.yml | 2 +- CMakeLists.txt | 2 +- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f7d3d27..9c87697 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,10 +5,15 @@ jobs: macos: runs-on: ${{matrix.os}} strategy: + fail-fast: false matrix: os: [ macos-latest ] build: [ Debug, Release ] - compiler: [ clang++ ] + compiler: [ clang++, clang++-16 ] + modules: [ "OFF" ] + include: + - compiler: clang++-16 + modules: "ON" name: ${{matrix.os}} ${{matrix.compiler}} ${{matrix.build}} env: CXX: ${{matrix.compiler}} @@ -16,7 +21,9 @@ jobs: steps: - uses: actions/checkout@v3 - name: cmake - run: cmake -S . -B build -DCMAKE_BUILD_TYPE=${{matrix.build}} + run: cmake -S . -B build + -DCMAKE_BUILD_TYPE=${{matrix.build}} + -DSEMVER_BUILD_MODULE=${{matrix.modules}} - name: build run: cmake --build build --config ${{matrix.build}} --parallel 4 - name: test @@ -26,6 +33,7 @@ jobs: linux: runs-on: ${{matrix.os}} strategy: + fail-fast: false matrix: os: [ ubuntu-latest ] build: [ Debug, Release ] @@ -47,6 +55,7 @@ jobs: windows: runs-on: ${{matrix.os}} strategy: + fail-fast: false matrix: build: [ Debug, Release ] os: [ windows-2019, windows-latest ] diff --git a/.github/workflows/sanitize.yml b/.github/workflows/sanitize.yml index ce704f6..895ecbd 100644 --- a/.github/workflows/sanitize.yml +++ b/.github/workflows/sanitize.yml @@ -8,7 +8,7 @@ jobs: fail-fast: false matrix: os: [ ubuntu-latest ] - compiler: [ clang++-15 ] + compiler: [ clang++-16 ] flags: - "-fsanitize=leak -g -O1 -fno-omit-frame-pointer" #LSAN - "-fsanitize=address -g -O1 -fno-omit-frame-pointer" #ASAN diff --git a/CMakeLists.txt b/CMakeLists.txt index 9ebb793..3af95f6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,7 +5,7 @@ endif() option(SEMVER_BUILD_TESTS "Enable builds of tests" ${TOP_PROJECT}) option(SEMVER_INSTALL "Enable install target" ${TOP_PROJECT}) -option(SEMVER_BUILD_MODULE "Build as C++20 module" ${TOP_PROJECT}) +option(SEMVER_BUILD_MODULE "Build as C++20 module" OFF) if (SEMVER_BUILD_MODULE) cmake_minimum_required(VERSION 3.28)