diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 78af7cb..6910e21 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -24,9 +24,6 @@ jobs: variant: - { value: "True", name: "toolmode" } - { value: "False", name: "game" } - exclude: - - conan_profile: "./ConanProfiles/host/clang_asan" - build_type: { value: "Release", profile: "release" } name: "Build & Test ${{ matrix.build_type.value }} with ${{ matrix.conan_profile }} (Unity Build: ${{ matrix.unity_build }}, Variant: ${{ matrix.variant.name }})" steps: - name: Install Node.js @@ -39,7 +36,11 @@ jobs: - name: Build run: | - conan install . --remote=bigfootpackages -pr:h=${{ matrix.conan_profile }} -pr:h=./ConanProfiles/Configurations/${{ matrix.build_type.profile }} -pr:b=./ConanProfiles/build/clang -pr:b=./ConanProfiles/Configurations/${{ matrix.build_type.profile }} --build=missing -o bigfoot/*:build_tests=True -o bigfoot/*:build_benchmarks=True -o bigfoot/*:tracy=False -o bigfoot/*:vulkan=True -o bigfoot/*:toolmode=${{ matrix.variant.value }} -of build-${{ matrix.variant.name }} + CONFIG_PROFILE=./ConanProfiles/Configurations/${{ matrix.build_type.profile }} + if [ "${{ matrix.build_type.profile }}" = "release" ] && [[ "${{ matrix.conan_profile }}" == *asan* ]]; then + CONFIG_PROFILE=./ConanProfiles/Configurations/release_noipo + fi + conan install . --remote=bigfootpackages -pr:h=${{ matrix.conan_profile }} -pr:h=$CONFIG_PROFILE -pr:b=./ConanProfiles/build/clang -pr:b=$CONFIG_PROFILE --build=missing -o bigfoot/*:build_tests=True -o bigfoot/*:build_benchmarks=True -o bigfoot/*:tracy=False -o bigfoot/*:vulkan=True -o bigfoot/*:toolmode=${{ matrix.variant.value }} -of build-${{ matrix.variant.name }} . ./build-${{ matrix.variant.name }}/build/${{ matrix.build_type.value }}/generators/conanbuild.sh cmake -S . -B ./build-${{ matrix.variant.name }}/${{ matrix.build_type.value }} --toolchain ./build-${{ matrix.variant.name }}/build/${{ matrix.build_type.value }}/generators/conan_toolchain.cmake -DCMAKE_BUILD_TYPE=${{ matrix.build_type.value }} -DCMAKE_UNITY_BUILD=${{ matrix.unity_build }} -G "Ninja" cmake --build build-${{ matrix.variant.name }}/${{ matrix.build_type.value }} --parallel $(nproc) diff --git a/ConanProfiles/Configurations/release_noipo b/ConanProfiles/Configurations/release_noipo new file mode 100644 index 0000000..a39eef7 --- /dev/null +++ b/ConanProfiles/Configurations/release_noipo @@ -0,0 +1,2 @@ +[settings] +build_type=Release