add gitlab ci instructions

This commit is contained in:
Sebastian Hugentobler 2016-06-20 18:35:17 +02:00
parent 814fc96669
commit 0b0f82fbef
3 changed files with 21 additions and 0 deletions

8
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,8 @@
image: thallian/love-release
build:
script:
- make docker
artifacts:
paths:
- build

View File

@ -4,12 +4,17 @@ LOVE := love
NAME := ds_alpha
VERSION := 0.0.1
CURRENTDIR := $(realpath .)
SRCDIR := src
BUILDDIR := build
.PHONY : all
all : run
.PHONY : docker
docker :
docker run --env-file=config --volume $(CURRENTDIR):/var/lib/builder/workspace thallian/love-release
$(BUILDDIR):
mkdir -p $(BUILDDIR)

8
config Normal file
View File

@ -0,0 +1,8 @@
PROJECT_AUTHOR=Sebastian Hugentobler
PROJECT_EMAIL=sebastian@vanwa.ch
PROJECT_TITLE=Streuner Game
PROJECT_VERSION=0.0.0
PROJECT_PACKAGE=streuner
PROJECT_UTI=ch.vanwa.streuner
PROJECT_DESCRIPTION=A Game About a Band
PROJECT_URL=https://gitlab.com/thallian/streuner-game