Skip to content

Commit

Permalink
ci: standardize deployment to Qt 6.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenvukhang committed Feb 6, 2023
1 parent 402761a commit 5f839fb
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,21 +104,15 @@ jobs:
run: |
cmake -DCMAKE_BUILD_TYPE=Release -S . -B build -G Ninja `
-DCMAKE_PREFIX_PATH=${{ env.Qt6_DIR }}
cmake --build build
cmake --build build --parallel
- name: Use windeployqt to load libraries
shell: bash
run: |
cd build
mv 'Canvas Sync.exe' ..
rm -rf *
mv '../Canvas Sync.exe' .
TARGET=deploy/windows/packages/com.nguyenvukhang.canvassync/data
mv 'build/Canvas Sync.exe' $TARGET
cd $TARGET
$Qt6_DIR/bin/windeployqt.exe 'Canvas Sync.exe'
cd ..
rm -rf deploy/windows/packages/com.nguyenvukhang.canvassync/data
mv build deploy/windows/packages/com.nguyenvukhang.canvassync/data
cd deploy/windows/packages/com.nguyenvukhang.canvassync/data
- name: Package the installer
shell: bash
Expand Down

0 comments on commit 5f839fb

Please sign in to comment.