.gitlab-ci.yml 1.69 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-trusty
44
  script: utils/build-linux-appimage.sh
45
  variables:
46
    QXMPP_BUILD: /usr
47
  allow_failure: true
48 49 50
  artifacts:
    paths:
      - "*.AppImage"
51
      - "*.AppImage.zsync"
52 53
    expire_in: 1 week

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

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

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

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