mirror of
https://gitlab.com/Syping/gta5view-cmd
synced 2024-11-22 05:30:23 +01:00
25 lines
538 B
YAML
25 lines
538 B
YAML
|
stages:
|
||
|
- build
|
||
|
|
||
|
Windows Portable:
|
||
|
stage: build
|
||
|
image: syping/qt5-static-mingw:5.9.6
|
||
|
variables:
|
||
|
QT_SELECT: "qt5-x86_64-w64-mingw32"
|
||
|
GIT_SUBMODULE_STRATEGY: recursive
|
||
|
script:
|
||
|
- cd gta5view
|
||
|
- rm -f main.cpp
|
||
|
- cd ..
|
||
|
- mkdir -p build
|
||
|
- cd build
|
||
|
- qmake-static ../gta5view-cmd.pro
|
||
|
- make -j4
|
||
|
- cp -Rf release/gta5view-cmd.exe ../
|
||
|
- cd ..
|
||
|
- upx --best gta5view-cmd.exe
|
||
|
artifacts:
|
||
|
name: "gta5view-cmd-$CI_COMMIT_REF_NAME-${CI_COMMIT_SHA:0:8}"
|
||
|
paths:
|
||
|
- "gta5view-cmd.exe"
|