Coalton LSP server #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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))' |