Update CI configuration to enable tests
This commit is contained in:
committed by
Guido Günther
parent
e903150971
commit
2391947b34
@ -2,16 +2,29 @@ image: debian:buster
|
|||||||
|
|
||||||
stages:
|
stages:
|
||||||
- build
|
- build
|
||||||
|
- test
|
||||||
|
|
||||||
|
.tags: &tags
|
||||||
|
tags:
|
||||||
|
- librem5
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- apt-get -y update
|
- apt-get -y update
|
||||||
- apt-get -y build-dep .
|
- apt-get -y build-dep .
|
||||||
|
|
||||||
build_meson:
|
build_meson:
|
||||||
|
<<: *tags
|
||||||
stage: build
|
stage: build
|
||||||
tags:
|
|
||||||
- librem5
|
|
||||||
script:
|
script:
|
||||||
- meson . _build/ -Ddepdatadir=/usr/share
|
- meson . _build/ -Ddepdatadir=/usr/share
|
||||||
- ninja -C _build install
|
- ninja -C _build install
|
||||||
|
|
||||||
|
test:
|
||||||
|
<<: *tags
|
||||||
|
stage: test
|
||||||
|
dependencies:
|
||||||
|
- build_meson
|
||||||
|
script:
|
||||||
|
- export LC_ALL=C.UTF-8
|
||||||
|
- ninja -C _build test
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user