Cleaner CMake
This commit is contained in:
@@ -18,6 +18,7 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
build_type: ["Debug", "RelWithDebInfo", "Release"]
|
||||
unity_build: ["ON", "OFF"]
|
||||
include:
|
||||
- build_type: Release
|
||||
conan_profile: ./ConanProfiles/clang
|
||||
@@ -28,7 +29,7 @@ jobs:
|
||||
- build_type: RelWithDebInfo
|
||||
conan_profile: ./ConanProfiles/clangd
|
||||
name: RelWithDebInfo (ASAN, LSAN, UBSAN)
|
||||
name: "Build & Test ${{ matrix.name }}"
|
||||
name: "Build & Test ${{ matrix.name }} (Unity Build: ${{ matrix.unity_build }})"
|
||||
steps:
|
||||
- name: Install Node.js
|
||||
run: apt-get update && apt-get install -y nodejs
|
||||
@@ -42,7 +43,7 @@ jobs:
|
||||
run: |
|
||||
conan profile detect
|
||||
conan install . --deployer=full_deploy --deployer-folder=build --remote=bigfootpackages -pr:h=${{ matrix.conan_profile }} -pr:b=${{ matrix.conan_profile }} --build=missing -s build_type=${{ matrix.build_type }}
|
||||
cmake -S . -B ./build/${{ matrix.build_type }} --toolchain ./build/${{ matrix.build_type }}/generators/conan_toolchain.cmake -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -G "Ninja"
|
||||
cmake -S . -B ./build/${{ matrix.build_type }} --toolchain ./build/${{ matrix.build_type }}/generators/conan_toolchain.cmake -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_UNITY_BUILD=${{ matrix.unity_build }} -G "Ninja"
|
||||
cmake --build build/${{ matrix.build_type }} --parallel $(nproc)
|
||||
|
||||
- name: Unit Tests
|
||||
|
||||
Reference in New Issue
Block a user