Skip to content

Commit

Permalink
Try to fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
z4kn4fein committed Jul 27, 2024
1 parent 512375c commit 3129c54
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,25 @@ 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}}
CTEST_OUTPUT_ON_FAILURE: 1
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
Expand All @@ -26,6 +33,7 @@ jobs:
linux:
runs-on: ${{matrix.os}}
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest ]
build: [ Debug, Release ]
Expand All @@ -47,6 +55,7 @@ jobs:
windows:
runs-on: ${{matrix.os}}
strategy:
fail-fast: false
matrix:
build: [ Debug, Release ]
os: [ windows-2019, windows-latest ]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sanitize.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3129c54

Please # to comment.