aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 29a556ae32c7bf0c28acfc43c7a303370309c40b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
build-cmake:
  image: fedora:32
  script:
    - dnf group install -y 'Development Tools'
    - dnf install -y hdf5-devel gsl-devel flex bison
    - dnf install -y gtk3-devel cairo-devel pango-devel gdk-pixbuf2-devel fftw-devel ncurses-devel libpng-devel  diffutils
    - dnf install -y cmake
    - mkdir build && cd build && cmake .. && make
    - make test

build-meson:
  image: fedora:32
  script:
    - dnf group install -y 'Development Tools'
    - dnf install -y hdf5-devel gsl-devel flex bison
    - dnf install -y gtk3-devel cairo-devel pango-devel gdk-pixbuf2-devel fftw-devel ncurses-devel libpng-devel  diffutils
    - dnf install -y meson
    - meson build && ninja -C build
    - ninja -C build test