.gitlab-ci.yml 1.67 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11
stages:
  - test
  - build
  - deploy

clazy:
  stage: test
  image: kaidan/neon-bionic
  variables:
    CMAKE_CXX_COMPILER: clazy
  script: utils/travis/build.sh
12
  allow_failure: true
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40

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

ubuntu-trusty:
  stage: build
  image: kaidan/ubuntu-trusty
  script: utils/travis/build.sh

neon-bionic:
  stage: build
  image: kaidan/neon-bionic
  script: utils/travis/build.sh

debian-sid:
  stage: build
  image: kaidan/debian-unstable
  script: utils/travis/build.sh

archlinux:
  stage: build
  image: kaidan/archlinux
  script: utils/travis/build.sh

41
linux-appimage:
42
  stage: deploy
43
  image: kaidan/ubuntu-xenial
44
  script: utils/build-linux-appimage.sh
45
  variables:
46
    QXMPP_BUILD: /usr
47 48 49
  artifacts:
    paths:
      - "*.AppImage"
50
      - "*.AppImage.zsync"
51 52
    expire_in: 1 week

53 54 55 56 57 58
windows-mxe:
  stage: deploy
  image: kaidan/windows-mxe
  script:
    - utils/build-windows-mxe.sh
    - mv build/bin/kaidan.exe kaidan.exe
59
  allow_failure: true
60 61 62 63 64
  artifacts:
    paths:
      - "kaidan.exe"
    expire_in: 1 week

Jonah Brüchert's avatar
Jonah Brüchert committed
65 66
android:
  stage: deploy
67
  image: kdeorg/android-arm-sdk
Jonah Brüchert's avatar
Jonah Brüchert committed
68
  script:
cacahueto's avatar
cacahueto committed
69
    - utils/build-android-docker.sh
Jonah Brüchert's avatar
Jonah Brüchert committed
70 71
  variables:
    KF5_VERSION: master
72
  allow_failure: true
Jonah Brüchert's avatar
Jonah Brüchert committed
73 74 75 76 77
  artifacts:
    paths:
      - "kaidan_build_apk-debug.apk"
    expire_in: 1 week

78 79 80 81 82 83
mac-osxcross:
  stage: deploy
  image: kaidan/mac-osxcross
  script:
    - utils/build-mac-osxcross.sh
    - tar -cf kaidan.tar -C build/bin/ kaidan.app
84
  allow_failure: true
85 86 87 88
  artifacts:
    paths:
      - "kaidan.tar"
    expire_in: 1 week
Jonah Brüchert's avatar
Jonah Brüchert committed
89

Jonah Brüchert's avatar
Jonah Brüchert committed
90 91 92
variables:
  GIT_SUBMODULE_STRATEGY: recursive
  BUILD_SYSTEM: cmake
93
  BUILD_TYPE: Release