-
-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy path.gitlab-ci.yml
72 lines (60 loc) · 2.39 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
build debian:
stage: build
# Build on Debian and SBCL.
# We want to build CIEL in a sufficiently old Debian version:
# the glibc will be compatible with lots of Debian and Ubuntu systems,
# however building on the latest (Bullseye) would lead to incompatible glibc errors
# when running on newer systems.
# Buster: released in July, 2019.
# Bullseye: released in August, 2021, supported until July, 2024.
image: clfoundation/sbcl:2.1.5-buster
# We need to install some system dependencies,
# to clone libraries not in Quicklisp,
# 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
# The image doesn't have Quicklisp installed by default.
- QUICKLISP_ADD_TO_INIT_FILE=true /usr/local/bin/install-quicklisp
# 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/
# Install system dependencies
- make debian-deps
# Clone upstream QL libraries.
- make ql-deps
script:
# build a ciel binary on cwd:
- make build
artifacts:
name: "ciel"
paths:
- ciel
build void:
stage: build
# Use custom docker image since the official ones
# can't be used in gitlab CI pipelines
image: cinerion/ciel-sbcl-voidlinux
# We need to install some system dependencies,
# to clone libraries not in Quicklisp,
# and to update ASDF to >= 3.3.5 in order to use local-package-nicknames.
before_script:
- xbps-install -S
- xbps-install -uy xbps
- xbps-install -uy
# The image doesn't have Quicklisp installed by default.
- QUICKLISP_ADD_TO_INIT_FILE=true /usr/local/bin/install-quicklisp
# 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/
# Clone upstream QL libraries.
- make ql-deps
script:
# build a ciel binary on cwd:
- make build
artifacts:
name: "ciel"
paths:
- ciel