CI: Simple GitLab CI file added
For a more complex example I refer to the petrinet CI setup
This commit is contained in:
25
.gitlab-ci.yml
Normal file
25
.gitlab-ci.yml
Normal 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
|
||||
Reference in New Issue
Block a user