Add more lisps to the test GitHub action #49
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
name: CI | |
# Controls when the action will run. | |
on: | |
# Triggers the workflow on push or pull request events but only for the master branch | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
test: | |
# The type of runner that the job will run on | |
runs-on: ${{matrix.os}} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
lisp: | |
- ccl-bin/1.12.2 | |
- allegro/10.1 | |
- ecl | |
- cmu-bin/21e | |
- clisp/2.49 | |
# - mkcl Tests not implemented on mkcl | |
- abcl/1.9.2 # ABCL install from Roswell does not work | |
- sbcl-bin | |
- clisp-head | |
env: | |
LISP: ${{ matrix.lisp }} | |
steps: | |
- name: prepare | |
uses: 40ants/setup-lisp@v2 | |
with: | |
roswell-version: v22.12.14.113 | |
asdf-version: 3.3.6 | |
# - name: Collect prerequisites | |
# shell: bash | |
# if: ${{ matrix.lisp == 'sbcl' }} | |
# run: | | |
# sudo apt-get update | |
# sudo apt-get install -y zlib1g-dev nlibzstd-dev | |
- uses: actions/checkout@v3 | |
- name: Checkout submodules | |
shell: bash | |
run: | | |
git submodule update --init --recursive | |
# Lisp setup copied from here: https://github.com/3b/ci-example/blob/master/.github/workflows/CI.yml | |
# - name: cache .roswell | |
# id: cache-dot-roswell | |
# uses: actions/cache@v1 | |
# with: | |
# path: ~/.roswell | |
# key: ${{ runner.os }}-dot-roswell-${{ matrix.lisp }}-${{ hashFiles('**/*.asd') }} | |
# restore-keys: | | |
# ${{ runner.os }}-dot-roswell-${{ matrix.lisp }}- | |
# ${{ runner.os }}-dot-roswell- | |
# - name: install roswell | |
# shell: bash | |
# # always run install, since it does some global installs and setup that isn't cached | |
# env: | |
# LISP: ${{ matrix.lisp }} | |
# # Use a previous release of Roswell to avoid error encountered | |
# # due to libcurl3 not being available. | |
# # Source of fix: https://github.com/avodonosov/drakma/commit/fbba29181ba2962f5031da581bd2de4dac98733d | |
# run: | | |
# sudo apt-get install -y libcurl4 | |
# curl -L https://raw.githubusercontent.com/roswell/roswell/a8fd8a3c33078d6f06e6cda9d099dcba6fbefcb7/scripts/install-for-ci.sh | sh | |
- name: tests | |
shell: bash | |
run: | | |
ros -S `pwd`/:: -l run-tests.lisp |