.gitlab-ci.yml 970 Bytes
Newer Older
1 2 3 4 5 6
stages:
  - test
  - deploy

clazy:
  stage: test
7
  image: kaidan/debian-unstable
8 9 10
  variables:
    CMAKE_CXX_COMPILER: clazy
  script: utils/travis/build.sh
11
  allow_failure: true
12 13 14 15 16 17 18 19

qmllint:
  stage: test
  image: kaidan/neon-bionic
  script: qmllint $(find . -name "*.qml")
  variables:
    QT_SELECT: 5

20 21
build:
  stage: test
22 23 24
  image: kaidan/debian-unstable
  script: utils/travis/build.sh

25
linux-appimage:
26
  stage: deploy
27
  image: kaidan/ubuntu-xenial
28
  script: utils/build-linux-appimage.sh
29
  variables:
30
    QXMPP_BUILD: /usr
31 32 33
  artifacts:
    paths:
      - "*.AppImage"
34
      - "*.AppImage.zsync"
35 36
    expire_in: 1 week

Jonah Brüchert's avatar
Jonah Brüchert committed
37 38
android:
  stage: deploy
39
  image: kdeorg/android-sdk
Jonah Brüchert's avatar
Jonah Brüchert committed
40
  script:
cacahueto's avatar
cacahueto committed
41
    - utils/build-android-docker.sh
Jonah Brüchert's avatar
Jonah Brüchert committed
42 43
  variables:
    KF5_VERSION: master
44
  allow_failure: true
Jonah Brüchert's avatar
Jonah Brüchert committed
45 46
  artifacts:
    paths:
Jonah Brüchert's avatar
Jonah Brüchert committed
47 48
      - "kaidan_arm.apk"
      - "kaidan_arm64.apk"
Jonah Brüchert's avatar
Jonah Brüchert committed
49 50
    expire_in: 1 week

Jonah Brüchert's avatar
Jonah Brüchert committed
51 52 53
variables:
  GIT_SUBMODULE_STRATEGY: recursive
  BUILD_SYSTEM: cmake
54
  BUILD_TYPE: Release