.gitlab-ci.yml 1.17 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 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
stages:
  - test
  - build
  - deploy

clazy:
  stage: test
  image: kaidan/neon-bionic
  variables:
    CMAKE_CXX_COMPILER: clazy
  script: utils/travis/build.sh

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

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

53
click-xenial:
54
  stage: deploy
55
  image: kaidan/ubuntu-touch-xenial
56
  script: utils/travis/build.sh
57 58
  variables:
    PLATFORM: ubuntu-touch
59
  artifacts:
60
    paths:
61
      - "*.click"
62
    expire_in: 1 week
63 64 65 66

variables:
  GIT_SUBMODULE_STRATEGY: recursive
  BUILD_SYSTEM: cmake
67
  BUILD_TYPE: Release