.gitlab-ci.yml 1 KB
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
    expire_in: 1 week
36 37
  only:
    - network/kaidan
38

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

Jonah Brüchert's avatar
Jonah Brüchert committed
55 56 57
variables:
  GIT_SUBMODULE_STRATEGY: recursive
  BUILD_SYSTEM: cmake
58
  BUILD_TYPE: Release