stages: - build - deploy luaengine: 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_LUAENGINERUN ../luaengineapp.pro - make -j4 - cp -Rf src/luaengine/release/luaengine.dll ../ - cp -Rf src/luaenginerun/release/luaengine.exe ../ - cp -Rf src/luaenginegui/release/luaenginegui.dll ../ - cp -Rf src/luaengineio/release/luaengineio.dll ../ - cp -Rf src/luaengineos/release/luaengineos.dll ../ - cd .. artifacts: paths: - "luaengine.dll" - "luaengine.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 ../luaengineapp.pro - make -j4 - cp -Rf src/luaengineapp/release/luaengineapp.exe ../ - cd .. artifacts: paths: - "luaengineapp.exe" LuaEngine Setup: stage: deploy image: syping/qt5-shared-mingw-openssl:5.12.5 script: - apt-get update -qq - apt-get install nsis -qq - nsis artifacts: name: "luaengine-$CI_COMMIT_REF_NAME-${CI_COMMIT_SHA:0:8}" paths: - "luaengine_setup.exe" dependencies: - luaengine - luaengineapp