CI: Simple GitLab CI file added

For a more complex example I refer to the petrinet CI setup
This commit is contained in:
Matthias Jung
2018-07-16 22:50:07 +02:00
parent d0e0835387
commit 5c88afbc96

25
.gitlab-ci.yml Normal file
View File

@@ -0,0 +1,25 @@
image: gcc
stages:
- build
- simple-runs
cache:
paths:
- build/
build:
stage: build
script:
- git submodule sync
- git submodule update --init --recursive
- mkdir -p build
- cd build
- qmake ../DRAMSys/DRAMSys.pro
- make -j4
check-for-crash:
stage: simple-runs
script:
- cd build/simulator
- ./DRAMSys