diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000000000000000000000000000000000000..464f881ed6c098053b191a6d4a51d42d7ca8ffda
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,35 @@
+stages:
+  - build
+  - release
+
+build:
+  stage: build
+  before_script:
+    - apt-get update -qq && apt-get install -y pandoc texlive
+  script:
+    - make all
+  artifacts:
+    paths:
+      - dist/Output.pdf
+      - dist/Output.html
+
+release:
+  stage: release
+  script:
+    - echo "Creating release..."
+  only:
+    - tags
+  artifacts:
+    paths:
+      - dist/Output.pdf
+      - dist/Output.html
+  release:
+    name: "Release $CI_COMMIT_TAG"
+    description: "Release created for commit $CI_COMMIT_SHA"
+    tag_name: "$CI_COMMIT_TAG"
+    assets:
+      links:
+        - name: "Output PDF"
+          url: "${CI_PROJECT_URL}/-/jobs/${CI_JOB_ID}/artifacts/raw/dist/Output.pdf"
+        - name: "Output HTML"
+          url: "${CI_PROJECT_URL}/-/jobs/${CI_JOB_ID}/artifacts/raw/dist/Output.html"