.gitlab-ci.yml 1.37 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

Jonah Brüchert's avatar
Jonah Brüchert committed
53
click-xenial:
54
  stage: deploy
Jonah Brüchert's avatar
Jonah Brüchert committed
55
  image: kaidan/ubuntu-touch-xenial
56
  script: utils/travis/build.sh
Jonah Brüchert's avatar
Jonah Brüchert committed
57 58
  variables:
    PLATFORM: ubuntu-touch
59
  artifacts:
Linus Jahn's avatar
Linus Jahn committed
60
    paths:
61
      - "*.click"
62
    expire_in: 1 week
Jonah Brüchert's avatar
Jonah Brüchert committed
63

64 65 66 67 68 69 70 71 72 73 74
windows-mxe:
  stage: deploy
  image: kaidan/windows-mxe
  script:
    - utils/build-windows-mxe.sh
    - mv build/bin/kaidan.exe kaidan.exe
  artifacts:
    paths:
      - "kaidan.exe"
    expire_in: 1 week

Jonah Brüchert's avatar
Jonah Brüchert committed
75 76 77
variables:
  GIT_SUBMODULE_STRATEGY: recursive
  BUILD_SYSTEM: cmake
78
  BUILD_TYPE: Release