CI: Strip binaries to smaller size
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
4e5592566a
commit
f9129f8364
2 changed files with 3 additions and 0 deletions
|
@ -21,5 +21,6 @@ mingw64-qt-cmake \
|
||||||
"-DTELEMETRY_WEBURL=https://dev.syping.de/gta5view-userstats/" \
|
"-DTELEMETRY_WEBURL=https://dev.syping.de/gta5view-userstats/" \
|
||||||
.. && \
|
.. && \
|
||||||
make -j 4 && \
|
make -j 4 && \
|
||||||
|
x86_64-w64-mingw32-strip -s gta5view.exe && \
|
||||||
cp -Rf *.exe ${PROJECT_DIR}/assets/${GTA5VIEW_EXECUTABLE} && \
|
cp -Rf *.exe ${PROJECT_DIR}/assets/${GTA5VIEW_EXECUTABLE} && \
|
||||||
cd ${PROJECT_DIR}/assets
|
cd ${PROJECT_DIR}/assets
|
||||||
|
|
|
@ -21,6 +21,8 @@ mingw64-qt-cmake \
|
||||||
"-DGTA5VIEW_PLUG=RUNDIR:SEPARATOR:plugins" \
|
"-DGTA5VIEW_PLUG=RUNDIR:SEPARATOR:plugins" \
|
||||||
.. && \
|
.. && \
|
||||||
make -j 4 && \
|
make -j 4 && \
|
||||||
|
x86_64-w64-mingw32-strip -s gta5view.exe && \
|
||||||
cd ${PROJECT_DIR}/assets && \
|
cd ${PROJECT_DIR}/assets && \
|
||||||
makensis -NOCD ${PROJECT_DIR}/.ci/gta5view.nsi && \
|
makensis -NOCD ${PROJECT_DIR}/.ci/gta5view.nsi && \
|
||||||
mv -f gta5view_setup.exe gta5view-${EXECUTABLE_VERSION}_setup.exe
|
mv -f gta5view_setup.exe gta5view-${EXECUTABLE_VERSION}_setup.exe
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue