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-12 05:19:27 +02:00
|
|
|
LuaEngine Windows:
|
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-12 05:19:27 +02:00
|
|
|
- qmake CONFIG+=WITH_LUAENGINERUN ../luaengine.pro
|
2019-10-07 02:21:02 +02:00
|
|
|
- make -j4
|
2019-10-12 05:19:27 +02:00
|
|
|
- cp -Rf src/luaenginecore/release/LuaEngine.dll ../
|
|
|
|
- cp -Rf src/luaenginegui/release/LuaEngineGui.dll ../
|
|
|
|
- cp -Rf src/luaengineio/release/LuaEngineIO.dll ../
|
|
|
|
- cp -Rf src/luaengineos/release/LuaEngineOS.dll ../
|
|
|
|
- cp -Rf src/luaengine/release/LuaEngine.exe ../
|
2019-10-07 02:17:33 +02:00
|
|
|
- cd ..
|
|
|
|
artifacts:
|
|
|
|
paths:
|
2019-10-12 05:19:27 +02:00
|
|
|
- "LuaEngine.dll"
|
|
|
|
- "LuaEngine.exe"
|
|
|
|
- "LuaEngineGui.dll"
|
|
|
|
- "LuaEngineIO.dll"
|
|
|
|
- "LuaEngineOS.dll"
|
2019-10-07 02:17:33 +02:00
|
|
|
|
2019-10-12 05:19:27 +02:00
|
|
|
LuaEngineApp:
|
2019-10-07 02:17:33 +02:00
|
|
|
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
|
2019-10-07 02:21:02 +02:00
|
|
|
- make -j4
|
2019-10-12 05:19:27 +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:
|
2019-10-12 05:19:27 +02:00
|
|
|
- "LuaEngineApp.exe"
|
2019-10-07 02:17:33 +02:00
|
|
|
|
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
|
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:
|
2019-10-12 05:19:27 +02:00
|
|
|
- LuaEngine Windows
|
|
|
|
- LuaEngineApp
|