This commit is contained in:
2026-02-20 19:44:57 +01:00
committed by Romain BOULLARD
parent 7c0f086969
commit 934b44c1f8
16 changed files with 178 additions and 92 deletions

View File

@@ -18,6 +18,13 @@ jobs:
strategy:
matrix:
build_type: ["Debug", "RelWithDebInfo", "Release"]
include:
- build_type: Release
conan_profile: ./ConanProfiles/clang
- build_type: Debug
conan_profile: ./ConanProfiles/clangd
- build_type: RelWithDebInfo
conan_profile: ./ConanProfiles/clangd
name: "Build & Test ${{ matrix.build_type }}"
steps:
- name: Install Node.js
@@ -34,7 +41,7 @@ jobs:
- name: Build
run: |
conan profile detect
conan install . --deployer=full_deploy --deployer-folder=build --remote=bigfootpackages --build=missing -s build_type=${{ matrix.build_type }} -o bin2cpp/*:build_tests=True
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 }} -o bin2cpp/*:build_tests=True
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 --build build/${{ matrix.build_type }} --parallel $(nproc)