diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..ee1b8d6b95ac0929220f3c66bcdad2afd7392c81 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -0,0 +1,17 @@
+stages:
+  - compile
+  - submit
+
+compile-mandelbrot:
+  stage: compile
+  script:
+    - gcc mandelbrot.c
+
+submit-mandelbrot:
+  stage: submit
+  dependency:
+    - compile-mandelbrot
+  script:
+    - ./a.out
+  artifacts:
+    - new1.ppm