Add PDB AppVeyor Artifact (#28)

This commit is contained in:
Florian Märkl 2019-09-10 17:20:37 +02:00 committed by GitHub
parent ded2d1a6b7
commit 1b26e899b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -17,6 +17,8 @@ build_script:
artifacts:
- path: Chiaki
name: Chiaki
- path: Chiaki-PDB
name: Chiaki-PDB
deploy:
description: 'Chiaki Binaries'

View file

@ -53,7 +53,7 @@ cmake \
-G Ninja \
-DCMAKE_C_COMPILER=cl \
-DCMAKE_C_FLAGS="-we4013" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_PREFIX_PATH="$APPVEYOR_BUILD_FOLDER/ffmpeg-prefix;$APPVEYOR_BUILD_FOLDER/opus-prefix;$APPVEYOR_BUILD_FOLDER/openssl-1.1/x64;$QT_PATH;$SDL_ROOT" \
-DPYTHON_EXECUTABLE="$PYTHON" \
-DCHIAKI_ENABLE_TESTS=ON \
@ -72,9 +72,7 @@ cd .. || exit 1
# Deploy
mkdir Chiaki && cp build/gui/chiaki.exe Chiaki || exit 1
# set CMAKE_BUILD_TYPE=RelWithDebInfo for pdbs
# cp build/gui/chiaki.pdb Chiaki
mkdir Chiaki-PDB && cp build/gui/chiaki.pdb Chiaki-PDB || exit 1
"$QT_PATH/bin/windeployqt.exe" Chiaki/chiaki.exe || exit 1
cp -v $COPY_DLLS Chiaki