diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 00000000..f1ac9543 --- /dev/null +++ b/.gitlab-ci.yml @@ -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