summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFedja Beader <fedja@protonmail.ch>2023-12-12 21:29:31 +0100
committerFedja Beader <fedja@protonmail.ch>2023-12-12 22:25:37 +0100
commitf34b2801e4b5085c9be4ab6f46eb3e4afcdbe063 (patch)
treeff97d0edd53a4618356da8013661a46fa940fb2d
parent6bfc88d0b0613dab1b25de913311cbeedfff3132 (diff)
downloadattobuild-f34b2801e4b5085c9be4ab6f46eb3e4afcdbe063.tar.gz
attobuild-f34b2801e4b5085c9be4ab6f46eb3e4afcdbe063.tar.bz2
attobuild-f34b2801e4b5085c9be4ab6f46eb3e4afcdbe063.tar.xz
attobuild-f34b2801e4b5085c9be4ab6f46eb3e4afcdbe063.zip
Gitlab CI file
Try with package python3? Maybe?
-rw-r--r--.gitlab-ci.yml37
1 files changed, 37 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..2d637c6
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,37 @@
+# Copied in from Moubootaur Legends's Hercules .gitlab-ci.yml
+stages:
+ - test
+
+variables: &base_vars
+ DEBIAN_COMMON_PACKAGES: make python3
+
+.prerequisites: &prerequisites
+ before_script:
+ - echo "Building demo project $CI_BUILD_NAME"
+ - uname -a
+ - apt-get update
+ - apt-get install -y -qq $INSTALL_PACKAGES $DEBIAN_COMMON_PACKAGES
+
+# Compilers
+ variables:
+ <<: *base_vars
+
+re:debian-stable:
+ <<: *prerequisites
+ stage: test
+ image: debian:stable
+ variables:
+ <<: *base_vars
+ INSTALL_PACKAGES: gcc
+ script:
+ - ./test-everything.sh
+
+re:debian-testing:
+ <<: *prerequisites
+ stage: test
+ image: debian:testing
+ variables:
+ <<: *base_vars
+ INSTALL_PACKAGES: gcc
+ script:
+ - ./test-everything.sh