Skip to content

Commit

Permalink
Enable release mode
Browse files Browse the repository at this point in the history
  • Loading branch information
fleroviux committed Feb 18, 2024
1 parent 5362d93 commit 752d460
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
-DPLATFORM_QT_STATIC=ON \
-DUSE_STATIC_SDL=ON \
-DGLEW_USE_STATIC_LIBS=ON \
-DRELEASE_BUILD=ON \
-DQT5_STATIC_DIR="/c/tools/msys64/mingw64/qt5-static"
cd build
make -j$NUMBER_OF_PROCESSORS
Expand All @@ -47,7 +48,7 @@ jobs:
sudo apt-get install -y libsdl2-dev libglew-dev qtbase5-dev
- name: Build NanoBoyAdvance
run: |
cmake -Bbuild -DCMAKE_BUILD_TYPE=Release
cmake -Bbuild -DCMAKE_BUILD_TYPE=Release -DRELEASE_BUILD=ON
cd build
make -j$(nproc)
- name: Collect artifacts
Expand Down Expand Up @@ -76,6 +77,7 @@ jobs:
-DUSE_STATIC_SDL=ON \
-DGLEW_USE_STATIC_LIBS=ON \
-DCMAKE_BUILD_TYPE=Release \
-DRELEASE_BUILD=ON \
-DCMAKE_PREFIX_PATH="$(brew --prefix qt@5);$(brew --prefix glew)" \
-DMACOS_BUILD_APP_BUNDLE=ON \
-DMACOS_BUNDLE_QT=ON
Expand Down

0 comments on commit 752d460

Please sign in to comment.