Update CI script

This commit is contained in:
2018-06-23 18:10:09 +01:00
parent 8997a07833
commit 5022f4385b
2 changed files with 6 additions and 5 deletions

View File

@@ -3,7 +3,6 @@ image: alpine:latest
before_script:
- apk -q update
- apk -q add build-base cmake check-dev git
- cmake .
stages:
- build
@@ -11,9 +10,13 @@ stages:
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
@@ -21,5 +24,6 @@ job_build:
job_test:
stage: test
script:
- cmake .
- make check_SDB
- ./tests/check_SDB