Fix: Compatibility with Qt5 + CPack configuration in CMakeLists + bump versions/cleanup files #331
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Windows | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install Qt | |
uses: jurplel/install-qt-action@v3 | |
with: | |
version: '6.2.4' | |
cache: 'true' | |
- name: Configure | |
run: cmake -S. -Bbuild | |
- name: Make | |
run: cmake --build build --config Release -j $(nproc) | |
- name: Package | |
run: | | |
mkdir dist | |
copy build\Release\D1GraphicsTool.exe dist | |
cd dist | |
windeployqt D1GraphicsTool.exe --no-compiler-runtime --no-opengl-sw --no-system-d3d-compiler --no-virtualkeyboard --no-translations --no-quick-import | |
shell: cmd | |
- name: Upload | |
if: ${{ !env.ACT }} | |
uses: actions/upload-artifact@v2 | |
with: | |
name: D1GraphicsTool-Windows-x64 | |
path: dist |