Cleaner CMake
All checks were successful
Bin2CPP / Build & Test Debug (ASAN, LSAN, UBSAN) (Unity Build: ON) (push) Successful in 1m37s
Bin2CPP / Build & Test Debug (ASAN, LSAN, UBSAN) (Unity Build: OFF) (push) Successful in 1m38s
Bin2CPP / Build & Test RelWithDebInfo (ASAN, LSAN, UBSAN) (Unity Build: ON) (push) Successful in 1m45s
Bin2CPP / Build & Test RelWithDebInfo (ASAN, LSAN, UBSAN) (Unity Build: OFF) (push) Successful in 1m45s
Bin2CPP / Build & Test Release (Unity Build: OFF) (push) Successful in 39s
Bin2CPP / Clang Format Checks (push) Successful in 9s
Bin2CPP / Build & Test Release (Unity Build: ON) (push) Successful in 2m56s

This commit is contained in:
2026-02-26 07:58:12 +01:00
parent b12025edab
commit 2586466936
13 changed files with 63 additions and 44 deletions

View File

@@ -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