luaengineapp/.gitlab-ci.yml

51 lines
1.1 KiB
YAML
Raw Normal View History

2019-09-24 17:25:39 +02:00
stages:
- build
2019-10-07 02:17:33 +02:00
- deploy
2019-09-24 17:25:39 +02:00
2019-10-07 02:17:33 +02:00
luaengine:
2019-09-24 17:25:39 +02:00
stage: build
2019-10-07 02:17:33 +02:00
image: syping/qt5-shared-mingw-openssl:5.12.5
2019-09-24 17:25:39 +02:00
variables:
QT_SELECT: "qt5-x86_64-w64-mingw32"
script:
- mkdir -p build
- cd build
2019-10-07 02:17:33 +02:00
- qmake-static CONFIG+=WITH_LUAENGINERUN ../luaengineapp.pro
- make ${nproc --all}
- cp -Rf src/luaengineapp/release/luaengine.exe ../
- cd ..
artifacts:
paths:
- "luaengine.exe"
luaengineapp:
stage: build
image: syping/qt5-static-mingw-openssl:5.12.5
variables:
QT_SELECT: "qt5-x86_64-w64-mingw32"
script:
- mkdir -p build
- cd build
- qmake-static CONFIG+=WITH_LUAENGINEAPP ../luaengineapp.pro
- make ${nproc --all}
2019-09-24 17:38:55 +02:00
- cp -Rf src/luaengineapp/release/luaengineapp.exe ../
2019-09-24 17:25:39 +02:00
- cd ..
2019-10-07 02:17:33 +02:00
artifacts:
paths:
- "luaengineapp.exe"
2019-10-07 02:19:01 +02:00
LuaEngine Setup:
2019-10-07 02:17:33 +02:00
stage: deploy
image: syping/qt5-shared-mingw-openssl:5.12.5
script:
- apt-get update -qq
- apt-get install nsis -qq
- nsis
2019-09-24 17:25:39 +02:00
artifacts:
2019-09-25 14:29:52 +02:00
name: "luaengine-$CI_COMMIT_REF_NAME-${CI_COMMIT_SHA:0:8}"
2019-09-24 17:25:39 +02:00
paths:
2019-10-07 02:19:01 +02:00
- "luaengine_setup.exe"
2019-10-07 02:17:33 +02:00
dependencies:
- luaengine
- luaengineapp