Files
SDB/.gitlab-ci.yml
2018-06-23 18:10:09 +01:00

29 lines
470 B
YAML

image: alpine:latest
before_script:
- apk -q update
- apk -q add build-base cmake check-dev git
stages:
- build
- test
job_build:
stage: build
environment:
CC: /usr/bin/x86_64-alpine-linux-musl-gcc
script:
- cmake -DCMAKE_EXE_LINKER_FLAGS="-static -Os" .
- make SDB
artifacts:
name: SDB Linux
expire_in: 1 week
paths:
- src/SDB
job_test:
stage: test
script:
- cmake .
- make check_SDB
- ./tests/check_SDB