add Gitlab CI (init)

This commit is contained in:
vindarel 2022-09-27 17:01:01 +02:00
parent 961460a800
commit abeb2ef38e

27
.gitlab-ci.yml Normal file
View file

@ -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/