~theothornhill/cl-bare

f23ce7d279471a88de7cc8521d8f0d641a047b10 — Theodor Thornhill 3 years ago 885bfce
Add build manifest
4 files changed, 28 insertions(+), 0 deletions(-)

A .build.yml
A setup.lisp
A test.lisp
A test.sh
A .build.yml => .build.yml +19 -0
@@ 0,0 1,19 @@
image: archlinux
packages:
  - sbcl
sources:
- https://git.sr.ht/~theothornhill/cl-bare
tasks:
- build: |
    curl -O https://beta.quicklisp.org/quicklisp.lisp
    sbcl --load cl-bare/setup.lisp
    echo '(let ((quicklisp-init (merge-pathnames "quicklisp/setup.lisp"
                                                         (user-homedir-pathname))))
                    (when (probe-file quicklisp-init)
                      (load quicklisp-init)))' >> ~/.sbclrc
    mkdir -p ~/quicklisp/local-projects/
    mv ~/cl-bare ~/quicklisp/local-projects/
    cd ~/quicklisp/local-projects/cl-bare
- test: |
    cd ~/quicklisp/local-projects/cl-bare
    ./test.sh

A setup.lisp => setup.lisp +3 -0
@@ 0,0 1,3 @@
(load "~/quicklisp.lisp")
(quicklisp-quickstart:install)
(quit)

A test.lisp => test.lisp +3 -0
@@ 0,0 1,3 @@
(ql:quickload :cl-bare-tests)

(asdf:test-system :cl-bare-tests)

A test.sh => test.sh +3 -0
@@ 0,0 1,3 @@
#!/bin/bash

sbcl --non-interactive --load test.lisp