mirror of
https://gitlab.com/Syping/luaengineapp.git
synced 2024-11-04 21:16:56 +01:00
59 lines
1.6 KiB
YAML
59 lines
1.6 KiB
YAML
stages:
|
|
- build
|
|
- deploy
|
|
|
|
LuaEngine Windows:
|
|
stage: build
|
|
image: syping/qt5-shared-mingw-openssl:5.12.5
|
|
variables:
|
|
QT_SELECT: "qt5-x86_64-w64-mingw32"
|
|
script:
|
|
- mkdir -p build
|
|
- cd build
|
|
- qmake CONFIG+=WITH_LUAENGINECOM CONFIG+=WITH_LUAENGINERUN ../luaengine.pro
|
|
- make -j4
|
|
- 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 ../
|
|
- cp -Rf src/luaenginec/release/luaenginec.exe ../
|
|
- cd ..
|
|
artifacts:
|
|
paths:
|
|
- "LuaEngine.dll"
|
|
- "LuaEngine.exe"
|
|
- "luaenginec.exe"
|
|
- "LuaEngineGui.dll"
|
|
- "LuaEngineIO.dll"
|
|
- "LuaEngineOS.dll"
|
|
|
|
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 DEFINES+=LUAENGINE_FOOTER_SCRIPT ../luaengine.pro
|
|
- make -j4
|
|
- cp -Rf src/luaengineapp/release/LuaEngineApp.exe ../windows.le
|
|
- cd ..
|
|
artifacts:
|
|
paths:
|
|
- "windows.le"
|
|
|
|
LuaEngine Setup:
|
|
stage: deploy
|
|
image: syping/qt5-shared-mingw-openssl:5.12.5
|
|
script:
|
|
- apt-get update -qq
|
|
- apt-get install nsis -qq
|
|
artifacts:
|
|
name: "luaengine-$CI_COMMIT_REF_NAME-${CI_COMMIT_SHA:0:8}"
|
|
paths:
|
|
- "luaengine_setup.exe"
|
|
dependencies:
|
|
- LuaEngine Windows
|
|
- LuaEngineApp
|