ci: Create RelWithDebInfo builds instead of Debug

This commit is contained in:
Michael Fabian 'Xaymar' Dirks 2023-05-03 17:17:02 +02:00 committed by Xaymar
parent 132ddc1d51
commit e32bd8cdae

View file

@ -336,7 +336,7 @@ jobs:
-DCMAKE_SYSTEM_VERSION="${{ matrix.CMAKE_SYSTEM_VERSION }}" \
-DCMAKE_BUILD_TYPE="${{ env.CMAKE_BUILD_TYPE }}" \
-DCMAKE_INSTALL_PREFIX="${{ github.workspace }}/build/ci/install" \
-DPACKAGE_NAME="streamfx-${{ matrix.package_name }}-debug" \
-DPACKAGE_NAME="streamfx-${{ matrix.package_name }}" \
-DPACKAGE_PREFIX="${{ github.workspace }}/build/package" \
-DENABLE_CLANG=TRUE -DCLANG_PATH="${{ env.CLANG_PATH }}" \
-DENABLE_PROFILING=ON \
@ -344,6 +344,7 @@ jobs:
-DQt_DIR="${{ github.workspace }}/build/qt" \
-DFFmpeg_DIR="${{ github.workspace }}/build/obsdeps" \
-DCURL_DIR="${{ github.workspace }}/build/obsdeps"
- name: "Build: Debug"
continue-on-error: true
shell: bash
@ -351,11 +352,11 @@ jobs:
CMAKE_BUILD_TYPE: "Debug"
run: |
if [[ "${{ matrix.runner }}" = windows* ]]; then
cmake --build "build/ci" --config ${{ env.CMAKE_BUILD_TYPE }} --target install
cmake --build "build/ci" --config ${{ env.CMAKE_BUILD_TYPE }} --target StreamFX
elif [[ "${{ matrix.runner }}" = ubuntu* ]]; then
cmake --build "build/ci" --config ${{ env.CMAKE_BUILD_TYPE }} --target install
cmake --build "build/ci" --config ${{ env.CMAKE_BUILD_TYPE }} --target StreamFX
elif [[ "${{ matrix.runner }}" = macos* ]]; then
cmake --build "build/ci" --config ${{ env.CMAKE_BUILD_TYPE }} --target install
cmake --build "build/ci" --config ${{ env.CMAKE_BUILD_TYPE }} --target StreamFX
fi
- name: "Build: Release"
shell: bash