From f7b70c72c98490160c62265fae44d726733b643c Mon Sep 17 00:00:00 2001
From: Ben Gamari <ben@smart-cactus.org>
Date: Mon, 13 Sep 2021 23:50:30 -0400
Subject: [PATCH] gitlab-ci: initial commit

---
 .gitlab-ci.yml | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 .gitlab-ci.yml

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..03ddc59
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,11 @@
+variables:
+  # Commit of ghc/ci-images repository from which to pull Docker images
+  DOCKER_REV: "853f348f9caf38b08740b280296fbd34e09abb3a"
+
+build:
+  image: "registry.gitlab.haskell.org/ghc/ci-images/x86_64-linux-fedora33:$DOCKER_REV"
+  tags:
+    - "x86_64-linux"
+  script:
+    - "cabal build -w $GHC lib:hpc"
+    - "cabal test -w $GHC"
-- 
GitLab