.gitlab-ci.yml 587 Bytes
Newer Older
Albert Astals Cid's avatar
Albert Astals Cid committed
1 2 3 4
include:
  - https://invent.kde.org/sysadmin/ci-tooling/raw/master/invent/ci-before.yml
  - https://invent.kde.org/sysadmin/ci-tooling/raw/master/invent/ci-applications-linux.yml

Albert Astals Cid's avatar
Albert Astals Cid committed
5
build_ubuntu_18_04:
Albert Astals Cid's avatar
Albert Astals Cid committed
6
  stage: build
Albert Astals Cid's avatar
Albert Astals Cid committed
7
  image: ubuntu:bionic
Albert Astals Cid's avatar
Albert Astals Cid committed
8 9
  only:
    - merge_requests
Albert Astals Cid's avatar
Albert Astals Cid committed
10 11 12 13 14 15 16 17 18
  before_script:
    - sed -i -e 's/# deb-src/deb-src/g' /etc/apt/sources.list
    - apt-get update
    - apt-get build-dep --yes --no-install-recommends okular
    - apt-get install --yes --no-install-recommends ninja-build libkf5crash-dev
  script:
    - mkdir -p build && cd build
    - cmake -G Ninja ..
    - ninja