Skip to content

Commit

Permalink
Set build mode to release for Windows (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
AJenbo authored Jun 26, 2023
1 parent 57ba642 commit b8e29d9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/windows-32.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ jobs:
run: cmake -S. -Bbuild -A Win32

- name: Make
run: cmake --build build -j $(nproc)
run: cmake --build build --config Release -j $(nproc)

- name: Package
run: |
mkdir dist
copy build\Debug\D1GraphicsTool.exe 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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ jobs:
run: cmake -S. -Bbuild

- name: Make
run: cmake --build build -j $(nproc)
run: cmake --build build --config Release -j $(nproc)

- name: Package
run: |
mkdir dist
copy build\Debug\D1GraphicsTool.exe 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
Expand Down

0 comments on commit b8e29d9

Please sign in to comment.