summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 43e2d4d5b4d9f6521d46a57531a034530d787e56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
image: ebassi/gitlab-gi:latest

stages:
  - build

build-job:
  stage: build
  script:
    - meson --prefix /usr --libdir /usr/lib64 --buildtype debug -Dcairo=true _build .
    - cd _build
    - ninja
    - meson test --print-errorlogs --suite=gobject-introspection --no-suite=glib
  except:
    - tags
  artifacts:
    when: on_failure
    name: "glib-_${CI_COMMIT_REF_NAME}"
    paths:
      - "${CI_PROJECT_DIR}/_build/meson-logs"