Skip to content

Commit 14dcce3

Browse files
committed
CI: set RELEASE_BUILD=ON on all platforms
1 parent 5927de4 commit 14dcce3

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ jobs:
2323
-DPython_EXECUTABLE="$(which python3)" \
2424
-DPLATFORM_QT_STATIC=ON \
2525
-DUSE_STATIC_SDL=ON \
26-
-DQT5_STATIC_DIR="/mingw64/qt5-static"
26+
-DQT5_STATIC_DIR="/mingw64/qt5-static" \
27+
-DRELEASE_BUILD=ON
2728
cd build
2829
make -j$NUMBER_OF_PROCESSORS
2930
- name: Collect artifacts
@@ -47,7 +48,7 @@ jobs:
4748
sudo apt-get install -y python3-jinja2 python3-lxml libsdl2-dev qtbase5-dev
4849
- name: Build NanoBoyAdvance
4950
run: |
50-
cmake -Bbuild -DCMAKE_BUILD_TYPE=Release
51+
cmake -Bbuild -DCMAKE_BUILD_TYPE=Release -DRELEASE_BUILD=ON
5152
cd build
5253
make -j$(nproc)
5354
- name: Collect artifacts
@@ -82,7 +83,8 @@ jobs:
8283
-DCMAKE_BUILD_TYPE=Release \
8384
-DCMAKE_PREFIX_PATH="$(brew --prefix qt@5)" \
8485
-DMACOS_BUILD_APP_BUNDLE=ON \
85-
-DMACOS_BUNDLE_QT=ON
86+
-DMACOS_BUNDLE_QT=ON \
87+
-DRELEASE_BUILD=ON
8688
cd build
8789
make -j$(getconf _NPROCESSORS_ONLN)
8890
- name: Create disk image
@@ -125,7 +127,8 @@ jobs:
125127
-DCMAKE_BUILD_TYPE=Release \
126128
-DCMAKE_PREFIX_PATH="$(brew --prefix qt@5)" \
127129
-DMACOS_BUILD_APP_BUNDLE=ON \
128-
-DMACOS_BUNDLE_QT=ON
130+
-DMACOS_BUNDLE_QT=ON \
131+
-DRELEASE_BUILD=ON
129132
cd build
130133
make -j$(getconf _NPROCESSORS_ONLN)
131134
- name: Create disk image

0 commit comments

Comments
 (0)