1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

MSVC: switch to RelWithDebInfo

This commit is contained in:
Andrii Danylchenko 2023-12-03 21:03:09 +02:00
parent b238796fee
commit 8f6d36b015
2 changed files with 7 additions and 3 deletions

View File

@ -84,6 +84,7 @@ jobs:
os: macos-12
test: 0
pack: 1
pack_type: Release
extension: dmg
preset: macos-conan-ninja-release
conan_profile: macos-intel
@ -93,6 +94,7 @@ jobs:
os: macos-12
test: 0
pack: 1
pack_type: Release
extension: dmg
preset: macos-arm-conan-ninja-release
conan_profile: macos-arm
@ -102,6 +104,7 @@ jobs:
os: macos-12
test: 0
pack: 1
pack_type: Release
extension: ipa
preset: ios-release-conan-ccache
conan_profile: ios-arm64
@ -110,12 +113,14 @@ jobs:
os: windows-latest
test: 0
pack: 1
pack_type: RelWithDebInfo
extension: exe
preset: windows-msvc-release-ccache
- platform: mingw-ubuntu
os: ubuntu-22.04
test: 0
pack: 1
pack_type: Release
extension: exe
cpack_args: -D CPACK_NSIS_EXECUTABLE=`which makensis`
cmake_args: -G Ninja
@ -246,7 +251,7 @@ jobs:
run: |
cd '${{github.workspace}}/out/build/${{matrix.preset}}'
CPACK_PATH=`which -a cpack | grep -m1 -v -i chocolatey`
"$CPACK_PATH" -C ${{env.BUILD_TYPE}} ${{ matrix.cpack_args }}
"$CPACK_PATH" -C ${{matrix.pack_type}} ${{ matrix.cpack_args }}
test -f '${{github.workspace}}/CI/${{matrix.platform}}/post_pack.sh' \
&& '${{github.workspace}}/CI/${{matrix.platform}}/post_pack.sh' '${{github.workspace}}' "$(ls '${{ env.VCMI_PACKAGE_FILE_NAME }}'.*)"
rm -rf _CPack_Packages

View File

@ -327,8 +327,7 @@
{
"name": "windows-msvc-release",
"configurePreset": "windows-msvc-release",
"inherits": "default-release",
"configuration": "Release"
"inherits": "default-release"
},
{
"name": "windows-msvc-release-ccache",