-
Notifications
You must be signed in to change notification settings - Fork 2
35 lines (31 loc) · 1.1 KB
/
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
name: CI
on:
push:
pull_request:
branches: [master]
jobs:
test:
name: ${{matrix.lisp}} on ${{matrix.os}}
strategy:
matrix:
lisp: [sbcl-bin] # only one cool lisp
os: [ubuntu-latest]
fail-fast: false
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v2
- name: Install Roswell
shell: bash
env:
LISP: ${{matrix.lisp}}
run: curl -L https://raw.githubusercontent.com/roswell/roswell/master/scripts/install-for-ci.sh | sh -x
- name: Get Lisp info
continue-on-error: true
shell: bash
run: |
ros -e '(format t "Lisp: ~a ~a on ~a~%" (lisp-implementation-type) (lisp-implementation-version) (machine-type))'
ros -e '(ql:quickload "trivial-features" :silent t)' -e '(format t "Features: ~s~%" *features*)'
- name: Run tests
shell: bash
run: |
ros -e '(setf *debugger-hook* (lambda (&rest ignorable) (declare (ignore ignorable)) (uiop:quit -1)))' -e '(ql:quickload "coalton-lsp/tests")' -e '(unless (fiasco:all-tests) (uiop:quit -1))'