ci: fix windows deployment issues

This commit is contained in:
itsmattkc
2023-02-15 23:00:14 -08:00
parent 522ffe0fe4
commit eeaaa22c9b
+4 -3
View File
@@ -195,6 +195,7 @@ jobs:
$DOWNLOAD_TOOL https://github.com/olive-editor/dependencies/releases/download/continuous/olive-dep-win32-Release.tar.gz
tar xzf olive-dep-win32-Release.tar.gz
echo "$(pwd -W)/install" >> $GITHUB_PATH
echo "$(pwd -W)/install/bin" >> $GITHUB_PATH
- name: Acquire Google Crashpad
shell: bash
@@ -249,7 +250,7 @@ jobs:
working-directory: ${{ runner.workspace }}/build
shell: bash
run: |
PATH=$PATH:$VCPKG_ROOT/installed/x64-windows/bin ctest -C ${{ matrix.build-type }} -V
ctest -C ${{ matrix.build-type }} -V
- name: Create Package
working-directory: ${{ runner.workspace }}/build
@@ -261,8 +262,8 @@ jobs:
cp app/olive-editor.exe olive-editor
cp app/crashhandler/olive-crashhandler.exe olive-editor
cp app/olive-editor.pdb olive-editor
$VCPKG_ROOT/installed/x64-windows/tools/qt5/bin/windeployqt --no-angle olive-editor/olive-crashhandler.exe
$VCPKG_ROOT/installed/x64-windows/tools/qt5/bin/windeployqt --no-angle olive-editor/olive-editor.exe
windeployqt --no-angle olive-editor/olive-crashhandler.exe
windeployqt --no-angle olive-editor/olive-editor.exe
cp $(cygpath $VCPKG_ROOT)/installed/x64-windows/bin/*.dll olive-editor
cp $(cygpath $ORIGINAL_WORKSPACE)/install/bin/*.dll olive-editor
cp $(cygpath $ORIGINAL_WORKSPACE)/install/crashpad/out/Default/crashpad_handler.exe olive-editor