aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 71f77779b2e849c7dc30b656246a3c7495695a56 (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 libtiff-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 libtiff-devel diffutils
    - dnf install -y meson
    - meson build && ninja -C build
    - ninja -C build test