summaryrefslogtreecommitdiff
path: root/hw4/.gitlab-ci.yml
diff options
context:
space:
mode:
author53hornet <53hornet@gmail.com>2019-02-02 23:33:15 -0500
committer53hornet <53hornet@gmail.com>2019-02-02 23:33:15 -0500
commitdb072ad4dc181eca5a1458656b130beb43f475bf (patch)
treea3c03c7f5497cb70503e2486662fa85cfb53415a /hw4/.gitlab-ci.yml
downloadcsci427-db072ad4dc181eca5a1458656b130beb43f475bf.tar.xz
csci427-db072ad4dc181eca5a1458656b130beb43f475bf.zip
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