From abeb2ef38e6abdd4b279d1924e474e932787c53a Mon Sep 17 00:00:00 2001 From: vindarel Date: Tue, 27 Sep 2022 17:01:01 +0200 Subject: [PATCH] add Gitlab CI (init) --- .gitlab-ci.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..9204edc --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,27 @@ +image: clfoundation/sbcl + +# We need to install some system dependencies, +# to clone libraries not in Quicklisp, +# and to update ASDF to >= 3.3.4 in order to use local-package-nicknames. +before_script: + - apt-get update -qy + - apt-get install -y git-core tar + # The image doesn't have Quicklisp installed by default. + - QUICKLISP_ADD_TO_INIT_FILE=true /usr/local/bin/install-quicklisp + # clone libraries not in Quicklisp or if we need the latest version. + # - make install / git clone + # Upgrade ASDF (UIOP) to 3.3.5 because we want package-local-nicknames. + - mkdir -p ~/common-lisp/asdf/ + - ( cd ~/common-lisp/ && wget https://asdf.common-lisp.dev/archives/asdf-3.3.5.tar.gz && tar -xvf asdf-3.3.5.tar.gz && mv asdf-3.3.5 asdf ) + - echo "Content of ~/common-lisp/asdf/:" && ls ~/common-lisp/asdf/ + +build: + # stage: build + script: + - make build + - make image + + artifacts: + name: "ciel" + paths: + - bin/