-
Notifications
You must be signed in to change notification settings - Fork 9
33 lines (26 loc) · 1.33 KB
/
test.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
name: test
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Prepare runner
run: |
DEBIAN_FRONTEND=noninteractive sudo apt-get -qq update \
&& DEBIAN_FRONTEND=noninteractive sudo apt-get -qq --assume-yes install \
sbcl
- uses: actions/checkout@v1
- name: Install quicklisp
run: |
wget https://beta.quicklisp.org/quicklisp.lisp
sbcl --noinform --disable-debugger \
--load quicklisp.lisp \
--eval '(quicklisp-quickstart:install)' \
--quit
- name: Run tests
run: |
sbcl --noinform --disable-debugger \
--load "${HOME}/quicklisp/setup.lisp" \
--eval '(asdf:initialize-source-registry (quote (:source-registry (:directory "'"$(pwd)"'") :ignore-inherited-configuration)))' \
--eval '(ql:quickload (list "eclector/test" "eclector-concrete-syntax-tree/test" "eclector.syntax-extensions/test"))' \
--eval '(mapc (function asdf:test-system) (list "eclector" "eclector-concrete-syntax-tree" "eclector.syntax-extensions"))'