. #44
Workflow file for this run
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
# SPDX-FileCopyrightText: Atlas Engineer LLC | |
# SPDX-License-Identifier: BSD-3-Clause | |
name: Tests | |
on: | |
push: | |
branches: [ test ] | |
pull_request: | |
branches: [ master ] | |
types: [ opened, synchronize, closed ] | |
jobs: | |
test: | |
name: ${{ matrix.lisp }} on ${{ matrix.os }} | |
strategy: | |
matrix: | |
lisp: [sbcl-bin, ccl-bin] | |
os: [ubuntu-latest, macos-latest] | |
# run the job on every combination of "lisp" and "os" above | |
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/v20.06.14.107/scripts/install-for-ci.sh | sh -x | |
# - name: Check Lisp | |
# continue-on-error: true | |
# shell: bash | |
# run: | | |
# ros ${{ matrix.rosargs }} -e '(format t "~a:~a on ~a~%...~%~%" (lisp-implementation-type) (lisp-implementation-version) (machine-type))' | |
# ros ${{ matrix.rosargs }} -e '(format t " fixnum bits:~a~%" (integer-length most-positive-fixnum))' | |
# ros ${{ matrix.rosargs }} -e "(ql:quickload 'trivial-features)" -e '(format t "features = ~s~%" *features*)' | |
# - name: Update Quickdist if we have one cached | |
# shell: bash | |
# run: ros -e "(ql:update-all-dists :prompt nil)" | |
# TODO: This should rather include submodules and ASDF-loading, | |
# but we usually use no submodules for libraries. Maybe we should? | |
# - name: Load the system | |
# shell: bash | |
# run: | | |
# ros ${{ matrix.rosargs }} -e '(push (uiop:getcwd) ql:*local-project-directories*)' -e '(handler-case (ql:quickload :nsymbols) (error (a) (format t "caught error ~s~%~a~%" a a) (uiop:quit 17)))' | |
- name: Run tests | |
shell: bash | |
run: | | |
ros -e '(ql:quickload :lisp-unit2)' -e '(asdf:test-system :nsymbols)' |