(minor) move CI tasks to Makefile: install QL and system deps

[ci skip]
This commit is contained in:
vindarel 2023-04-24 16:17:34 +02:00
parent b65572e3b9
commit 36f255b6ed
2 changed files with 17 additions and 5 deletions

View file

@ -5,7 +5,7 @@ image: clfoundation/sbcl
# and to update ASDF to >= 3.3.5 in order to use local-package-nicknames.
before_script:
- apt-get update -qy
- apt-get install -y git-core tar libmagic-dev
- 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
@ -15,10 +15,10 @@ before_script:
- ( 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/
# clone libraries not in Quicklisp or if we need the latest version.
# - make install / git clone
# 2023-03: we want str:ensure-suffix, not yet in Quicklisp.
- git clone https://github.com/vindarel/cl-str ~/quicklisp/local-projects/
# Install system dependencies
- make debian-deps
# Clone upstream QL libraries.
- make ql-deps
build:
# stage: build

View file

@ -1,5 +1,17 @@
LISP ?= sbcl
# Install some Quicklisp dependencies.
ql-deps:
# 2023-03: we want str:ensure-suffix, not yet in Quicklisp.
git clone https://github.com/vindarel/cl-str/ ~/quicklisp/local-projectsi
# Install some sytem dependencies.
debian-deps:
apt-get install -y libmagic-dev libinotifytools0
macos-deps:
echo "fsevent (for file-notify)"
run:
$(LISP) --load ciel.asd \
--eval '(asdf:load-system :ciel)' \