-
Notifications
You must be signed in to change notification settings - Fork 5
/
.gitlab-ci.yml
45 lines (41 loc) · 1.46 KB
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
image: clfoundation/sbcl
# uncomment to run the jobs in parallel.
# stages:
# - test
# - build
# 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 sqlite3 tar gettext
# 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
# 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/
qa:
allow_failure: true
# stage: test
script:
# QA tools:
# install Comby:
- apt-get install -y sudo
# - bash <(curl -sL get.comby.dev)
- bash <(curl -sL https://raw.githubusercontent.com/vindarel/comby/set-release-1.0.0/scripts/install.sh)
# install Colisper:
- git clone https://github.com/vindarel/colisper ~/colisper
- chmod +x ~/colisper/colisper.sh
- alias colisper=~/colisper/colisper.sh # doesn't work?
- cd src/ && ~/colisper/colisper.sh
build:
# stage: build
script:
- make build
artifacts:
name: "openbookstore"
paths:
- bin/