This repository has been archived by the owner on Jan 21, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
/
Earthfile
95 lines (77 loc) · 3.12 KB
/
Earthfile
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
VERSION 0.6
FROM debian:stable
WORKDIR /cl-git
ENV ROSWELL_DIST=https://raw.githubusercontent.com/roswell/roswell/master/scripts/install-for-ci.sh
libgit2:
ARG --required LIBGIT2_VERSION
RUN apt-get update && apt-get install -y curl cmake gcc libssl-dev libcurl4-gnutls-dev libssh2-1-dev
RUN curl -L https://github.com/libgit2/libgit2/archive/v${LIBGIT2_VERSION}.tar.gz > v${LIBGIT2_VERSION}.tar.gz
RUN tar -zxf v${LIBGIT2_VERSION}.tar.gz
RUN mkdir libgit-build
RUN cd libgit-build && \
cmake -DBUILD_TESTS=OFF -DBUILD_CLAR=OFF -DCMAKE_VERBOSE_MAKEFILE=ON ../libgit2-${LIBGIT2_VERSION} && \
cmake --build . && \
cmake --build . --target install
RUN ldconfig
deps:
FROM +libgit2
ENV CI=true
ENV PATH="~/.roswell/bin:$PATH"
RUN apt-get update && apt-get install -y curl make bzip2 libcurl3-gnutls zlib1g-dev lsof build-essential chrpath install-info texinfo file
RUN curl -L $ROSWELL_DIST | sh
build:
FROM +deps
COPY cl-git.asd version.lisp-expr run-tests.lisp ./src/ ./tests/ /root/.roswell/local-projects/cl-git/
COPY src /root/.roswell/local-projects/cl-git/src
COPY tests /root/.roswell/local-projects/cl-git/tests
test-libgit2-sbcl:
FROM +build
RUN ros install sbcl-bin
RUN ros use sbcl-bin
test-libgit2-ecl:
FROM +build
RUN apt update && apt install -y libgmp-dev
RUN ros install ecl/21.2.1
RUN ros use ecl
test-libgit2-ccl:
FROM +build
RUN ros install ccl-bin/1.12
RUN ros use ccl-bin
test-libgit2-clasp:
FROM +build
RUN apt update && apt install -y libelf1 libllvm9 libgmpxx4ldbl locales-all
RUN ros install clasp-bin
RUN ros use clasp-bin
test-libgit2-0.27-sbcl:
FROM +test-libgit2-sbcl --LIBGIT2_VERSION=0.27.10
RUN /root/.roswell/local-projects/cl-git/run-tests.lisp
test-libgit2-0.28-sbcl:
FROM +test-libgit2-sbcl --LIBGIT2_VERSION=0.28.5
RUN /root/.roswell/local-projects/cl-git/run-tests.lisp
test-libgit2-1.0-sbcl:
FROM +test-libgit2-sbcl --LIBGIT2_VERSION=1.0.1
RUN /root/.roswell/local-projects/cl-git/run-tests.lisp
test-libgit2-1.1-sbcl:
FROM +test-libgit2-sbcl --LIBGIT2_VERSION=1.1.1
RUN /root/.roswell/local-projects/cl-git/run-tests.lisp
test-libgit2-1.2-sbcl:
FROM +test-libgit2-sbcl --LIBGIT2_VERSION=1.2.0
RUN /root/.roswell/local-projects/cl-git/run-tests.lisp
test-libgit2-1.3-sbcl:
FROM +test-libgit2-sbcl --LIBGIT2_VERSION=1.3.2
RUN /root/.roswell/local-projects/cl-git/run-tests.lisp
test-libgit2-1.4-sbcl:
FROM +test-libgit2-sbcl --LIBGIT2_VERSION=1.4.4
RUN /root/.roswell/local-projects/cl-git/run-tests.lisp
test-libgit2-1.5-sbcl:
FROM +test-libgit2-sbcl --LIBGIT2_VERSION=1.5.0
RUN /root/.roswell/local-projects/cl-git/run-tests.lisp
test-libgit2-1.5-ecl:
FROM +test-libgit2-ecl --LIBGIT2_VERSION=1.5.0
RUN /root/.roswell/local-projects/cl-git/run-tests.lisp
test-libgit2-1.5-ccl:
FROM +test-libgit2-ccl --LIBGIT2_VERSION=1.5.0
RUN /root/.roswell/local-projects/cl-git/run-tests.lisp
test-libgit2-1.5-clasp:
FROM +test-libgit2-clasp --LIBGIT2_VERSION=1.5.0
RUN /root/.roswell/local-projects/cl-git/run-tests.lisp