Skip to content
Snippets Groups Projects
.gitlab-ci.yml 402 B
Newer Older
Bruce Cowan's avatar
Bruce Cowan committed
image: fedora:latest
stages:
  - build
Bruce Cowan's avatar
Bruce Cowan committed
  - test

before_script:
Bruce Cowan's avatar
Bruce Cowan committed
  - dnf install -y gcc meson ninja-build "pkgconfig(glib-2.0)"
Bruce Cowan's avatar
Bruce Cowan committed

build:
  stage: build
  script:
  - meson builddir
Bruce Cowan's avatar
Bruce Cowan committed
  - ninja -C builddir
Bruce Cowan's avatar
Bruce Cowan committed
  artifacts:
    paths:
      - builddir
Bruce Cowan's avatar
Bruce Cowan committed

test:
  stage: test
  script:
Bruce Cowan's avatar
Bruce Cowan committed
  - meson test -C builddir --verbose
  dependencies:
    - build
  artifacts:
    paths:
      - builddir/meson-logs/testlog.txt