mirror of
https://gitlab.com/Syping/gta5view-cmd
synced 2024-11-21 21:20:22 +01:00
24 lines
545 B
YAML
24 lines
545 B
YAML
stages:
|
|
- build
|
|
|
|
Windows Portable:
|
|
stage: build
|
|
image: sypingauto/gta5view-build:1.8-static
|
|
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"
|