summaryrefslogtreecommitdiff
path: root/hw4/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to 'hw4/.gitlab-ci.yml')
-rw-r--r--hw4/.gitlab-ci.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/hw4/.gitlab-ci.yml b/hw4/.gitlab-ci.yml
new file mode 100644
index 0000000..b0bd385
--- /dev/null
+++ b/hw4/.gitlab-ci.yml
@@ -0,0 +1,21 @@
+image: gcc
+
+before_script:
+ - apt update --yes
+ - apt install --yes cmake
+
+after_script:
+ - rm -rf Release
+
+build-hw4:
+ script:
+ - mkdir Release
+ - cd Release
+ - cmake ..
+ - make
+ - ./HW4 ../data/HW4-scene1.xml
+ - ./HW4 ../data/HW4-scene2.xml
+ - ./HW4 ../data/HW4-scene3.xml
+ - ./HW4 ../data/HW4-scene4.xml
+ - ./HW4 ../data/HW4-scene5.xml
+ - ./HW4 ../data/HW4-scene6.xml