Update CI script

This commit is contained in:
2018-06-23 17:25:46 +01:00
parent f370305984
commit 8997a07833

View File

@@ -3,6 +3,7 @@ image: alpine:latest
before_script: before_script:
- apk -q update - apk -q update
- apk -q add build-base cmake check-dev git - apk -q add build-base cmake check-dev git
- cmake .
stages: stages:
- build - build
@@ -11,10 +12,14 @@ stages:
job_build: job_build:
stage: build stage: build
script: script:
- cmake . - make SDB
- make artifacts:
expire_in: 1 week
paths:
- src/SDB
job_test: job_test:
stage: test stage: test
script: script:
- check_SDB - make check_SDB
- ./tests/check_SDB