Skip to content

Workflow file for this run

# 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]
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Install Roswell
env:
LISP: ${{ matrix.lisp }}
run: curl -L https://raw.githubusercontent.com/roswell/roswell/v23.10.14.114/scripts/install-for-ci.sh | sh -x
# 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 -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
run: |
ros -e '(ql:quickload :lisp-unit2)' \
-e '(handler-case (asdf:test-system :nsymbols) (error (c) (uiop:quit 1)))'