Added initial .gitlab-ci.yml to automatically test builds
This commit is contained in:
parent
74805e1e41
commit
59ecb327e7
1 changed files with 19 additions and 0 deletions
19
.gitlab-ci.yml
Normal file
19
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
image: base/devel
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
- pacman -Sy
|
||||||
|
- pacman --noconfirm -S ldc dub libevent
|
||||||
|
|
||||||
|
stages:
|
||||||
|
- build
|
||||||
|
- test
|
||||||
|
|
||||||
|
build:
|
||||||
|
stage: build
|
||||||
|
script:
|
||||||
|
- dub build --compiler=ldc2
|
||||||
|
|
||||||
|
test:
|
||||||
|
stage: test
|
||||||
|
script:
|
||||||
|
- dub test --compiler=ldc2
|
Loading…
Reference in a new issue