Kaidan/.gitlab-ci.yml

59 lines
1.0 KiB
YAML

stages:
- test
- deploy
clazy:
stage: test
image: kaidan/debian-unstable
variables:
CMAKE_CXX_COMPILER: clazy
script: utils/travis/build.sh
allow_failure: true
qmllint:
stage: test
image: kaidan/neon-bionic
script: qmllint $(find . -name "*.qml")
variables:
QT_SELECT: 5
build:
stage: test
image: kaidan/debian-unstable
script: utils/travis/build.sh
linux-appimage:
stage: deploy
image: kaidan/ubuntu-xenial
script: utils/build-linux-appimage.sh
variables:
QXMPP_BUILD: /usr
artifacts:
paths:
- "*.AppImage"
- "*.AppImage.zsync"
expire_in: 1 week
only:
- network/kaidan
android:
stage: deploy
image: kdeorg/android-sdk
script:
- utils/build-android-docker.sh
variables:
KF5_VERSION: master
allow_failure: true
artifacts:
paths:
- "kaidan_arm.apk"
- "kaidan_arm64.apk"
expire_in: 1 week
only:
- network/kaidan
variables:
GIT_SUBMODULE_STRATEGY: recursive
BUILD_SYSTEM: cmake
BUILD_TYPE: Release