1
0
Fork 0
mirror of https://gitlab.com/Syping/gta5view-cmd synced 2024-11-21 21:20:22 +01:00

add GitLab CI

This commit is contained in:
Syping 2018-06-29 11:24:55 +02:00
parent 121581034f
commit 840caac34e
2 changed files with 25 additions and 1 deletions

24
.gitlab-ci.yml Normal file
View file

@ -0,0 +1,24 @@
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"

@ -1 +1 @@
Subproject commit 72377e49ebd9760629344b1d8935bc59a7cf5297 Subproject commit dc101a66dad3bf09336556bfd9fc92bb6f723212