aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: da5493ad1507d4042aafeaf31ccba16109f00369 (plain)
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
archlinux:
  stage: test
  image: archlinux:base-devel
  before_script:
    - pacman -Sy cmake git wxwidgets-gtk3 --noconfirm --needed
  script:
    - git submodule init && git submodule update --recursive
    - git submodule foreach --recursive git submodule update --init
    - mkdir build && cd build && cmake ../ && make
  artifacts:
    when: on_failure
    paths:
    - build/

debian:
  stage: test
  image: debian:stable
  before_script:
    - apt update && apt -y install cmake git build-essential libwxgtk3.0-gtk3-dev
  script:
    - git submodule init && git submodule update --recursive
    - git submodule foreach --recursive git submodule update --init
    - mkdir build && cd build && cmake ../ && make
  artifacts:
    when: on_failure
    paths:
    - build/