Add GitLabCI files

This commit is contained in:
Filip Gralinski 2018-09-14 08:56:26 +02:00 committed by Filip Graliński
parent d3be4493c1
commit 30ba1afcbd
2 changed files with 21 additions and 0 deletions

14
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,14 @@
image: fpco/stack-build
stages:
- build
build:
stage: build
script:
- apt-get update
- apt-get install libfcgi-dev -y
- ./build.sh
artifacts:
paths:
- gonito-distribution.tar.gz

7
build.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/bash -xe
git clone git://gonito.net/geval
mv geval ..
stack install
cp ~/.local/bin/gonito-bin .
tar zvcf gonito-distribution.tar.gz gonito-bin config/ static/