.gitlab-ci.yml 1.01 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 38
  only:
    - master
    - stable
39

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

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