aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: f0b55cacb546c29cc17dd4b331e012027a839f5a (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
28
29
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 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 gcc-c++
    - dnf install -y gtk3-devel cairo-devel pango-devel gdk-pixbuf2-devel fftw-devel libpng-devel diffutils
    - dnf install -y meson
    - meson build && ninja -C build
    - ninja -C build test

build-meson-nohdf5:
  image: fedora:35
  script:
    - dnf group install -y 'Development Tools'
    - dnf install -y gsl-devel flex bison gcc-c++
    - dnf install -y gtk3-devel cairo-devel pango-devel gdk-pixbuf2-devel fftw-devel libpng-devel diffutils
    - dnf install -y meson
    - meson build -Dhdf5=disabled && ninja -C build
    - ninja -C build test