Selectively disable type dispatch mechanism on some Lisps #236
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] | |
env: | |
GITHUB_WORKSPACE: $HOME/common-lisp/serapeum | |
jobs: | |
test: | |
name: ${{ matrix.lisp }} on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
lisp: [sbcl-bin, ccl-bin/1.12.1, ecl/21.2.1] | |
os: [ubuntu-latest, macOS-13] # macos-latest when Clozure supports arm64? | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Install Roswell | |
env: | |
LISP: ${{ matrix.lisp }} | |
run: | | |
curl -L https://raw.githubusercontent.com/roswell/roswell/master/scripts/install-for-ci.sh | sh | |
- name: Install ci-utils | |
run: ros install ci-utils | |
- name: Run tests | |
run: | | |
PATH="~/.roswell/bin:$PATH" | |
run-fiveam -l serapeum/tests 'serapeum.tests::serapeum' | |
test-clasp: | |
name: clasp in Docker | |
runs-on: ubuntu-latest | |
container: ghcr.io/clasp-developers/clasp:latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Compile Serapeum | |
env: | |
HOME: /home/app | |
run: | | |
clasp --eval "(handler-bind ((error (lambda (e) (uiop:print-backtrace :condition e) (uiop:quit 1)))) (ql:quickload :serapeum))" --quit | |
- name: Test Serapeum | |
env: | |
HOME: /home/app | |
run: | | |
clasp --eval "(handler-bind ((error (lambda (e) (uiop:print-backtrace :condition e) (uiop:quit 1)))) (asdf:test-system :serapeum))" --quit |