From b8e29d97527f601f7973f388656ed8d96de4248e Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Mon, 26 Jun 2023 22:12:13 +0200 Subject: [PATCH] Set build mode to release for Windows (#113) --- .github/workflows/windows-32.yml | 4 ++-- .github/workflows/windows.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/windows-32.yml b/.github/workflows/windows-32.yml index 8777e946..d255d6b5 100644 --- a/.github/workflows/windows-32.yml +++ b/.github/workflows/windows-32.yml @@ -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 diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 659cdc78..5ca5f966 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -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