2021-10-26 15:18:30 +00:00
|
|
|
name: tests
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2024-01-26 14:39:24 +00:00
|
|
|
branches:
|
|
|
|
- master
|
2021-10-26 15:18:30 +00:00
|
|
|
pull_request:
|
|
|
|
schedule:
|
|
|
|
- cron: "0 0 * * SUN"
|
|
|
|
|
|
|
|
jobs:
|
2021-10-27 05:16:26 +00:00
|
|
|
tests:
|
2021-10-26 15:18:30 +00:00
|
|
|
strategy:
|
|
|
|
fail-fast: false # Let the workflow continue as much as possible
|
|
|
|
matrix:
|
|
|
|
include:
|
2024-03-12 09:09:44 +00:00
|
|
|
# Linux
|
2024-01-26 14:39:24 +00:00
|
|
|
- os: ubuntu-latest
|
|
|
|
lisp: abcl-bin
|
2024-02-25 13:55:01 +00:00
|
|
|
# See issue: https://github.com/40ants/setup-lisp/issues/22
|
|
|
|
# - os: ubuntu-latest
|
|
|
|
# lisp: allegro
|
2024-03-12 09:09:44 +00:00
|
|
|
- os: ubuntu-latest
|
|
|
|
lisp: ccl-bin
|
2024-01-28 05:52:52 +00:00
|
|
|
# See issue: https://github.com/40ants/setup-lisp/issues/16
|
|
|
|
# - os: ubuntu-latest
|
|
|
|
# lisp: clasp
|
2024-03-12 09:09:44 +00:00
|
|
|
- os: ubuntu-latest
|
|
|
|
lisp: clasp-bin
|
|
|
|
# See issue: https://github.com/40ants/setup-lisp/issues/15
|
|
|
|
# - os: ubuntu-latest
|
|
|
|
# lisp: clisp
|
|
|
|
- os: ubuntu-latest
|
|
|
|
lisp: clisp-head
|
|
|
|
- os: ubuntu-latest
|
|
|
|
lisp: cmu-bin
|
|
|
|
- os: ubuntu-latest
|
|
|
|
lisp: ecl
|
2024-01-26 14:39:24 +00:00
|
|
|
# See issue: https://github.com/40ants/setup-lisp/issues/17
|
|
|
|
# - os: ubuntu-latest
|
|
|
|
# lisp: mkcl
|
|
|
|
# See issue: https://github.com/40ants/setup-lisp/issues/18
|
|
|
|
# - os: ubuntu-latest
|
|
|
|
# lisp: npt
|
2024-03-12 09:09:44 +00:00
|
|
|
- os: ubuntu-latest
|
|
|
|
lisp: sbcl
|
|
|
|
# Just to ensure test.ros will not fail when version
|
|
|
|
# is specified explicitly
|
|
|
|
- os: ubuntu-latest
|
|
|
|
lisp: sbcl/2.3.1
|
|
|
|
- os: ubuntu-latest
|
|
|
|
lisp: sbcl-bin
|
|
|
|
|
|
|
|
# OSX
|
|
|
|
- os: macos-latest
|
|
|
|
lisp: abcl-bin
|
|
|
|
- os: macos-latest
|
|
|
|
lisp: ccl-bin
|
|
|
|
# https://github.com/40ants/setup-lisp/issues/29
|
|
|
|
# - os: macos-latest
|
|
|
|
# lisp: clasp-bin
|
|
|
|
# https://github.com/40ants/setup-lisp/issues/28
|
|
|
|
# - os: macos-latest
|
|
|
|
# lisp: clisp-head
|
|
|
|
# https://github.com/40ants/setup-lisp/issues/30
|
|
|
|
# - os: macos-latest
|
|
|
|
# lisp: cmu-bin
|
|
|
|
- os: macos-latest
|
|
|
|
lisp: ecl
|
|
|
|
- os: macos-latest
|
|
|
|
lisp: sbcl-bin
|
|
|
|
|
|
|
|
# Windows
|
|
|
|
|
|
|
|
# https://github.com/40ants/setup-lisp/issues/27
|
|
|
|
# - os: windows-latest
|
|
|
|
# lisp: abcl-bin
|
|
|
|
# https://github.com/40ants/setup-lisp/issues/27
|
|
|
|
# - os: windows-latest
|
|
|
|
# lisp: ccl-bin
|
|
|
|
# https://github.com/40ants/setup-lisp/issues/27
|
|
|
|
# - os: windows-latest
|
|
|
|
# lisp: clasp-bin
|
|
|
|
# https://github.com/40ants/setup-lisp/issues/27
|
|
|
|
# - os: windows-latest
|
|
|
|
# lisp: clisp-head
|
|
|
|
# https://github.com/40ants/setup-lisp/issues/27
|
|
|
|
# - os: windows-latest
|
|
|
|
# lisp: cmu-bin
|
|
|
|
# https://github.com/40ants/setup-lisp/issues/27
|
|
|
|
# - os: windows-latest
|
|
|
|
# lisp: ecl
|
|
|
|
- os: windows-latest
|
|
|
|
lisp: sbcl-bin
|
|
|
|
|
|
|
|
|
2021-10-26 15:18:30 +00:00
|
|
|
defaults:
|
|
|
|
run:
|
2024-01-28 05:52:52 +00:00
|
|
|
shell: lispsh -eo pipefail {0}
|
2021-10-26 15:18:30 +00:00
|
|
|
env:
|
|
|
|
LISP: ${{ matrix.lisp }}
|
2021-10-27 05:16:26 +00:00
|
|
|
name: test with ${{ matrix.lisp }} on ${{ matrix.os }}
|
2021-10-26 15:18:30 +00:00
|
|
|
runs-on: ${{ matrix.os }}
|
2024-01-26 14:39:24 +00:00
|
|
|
timeout-minutes: 10
|
2021-10-26 15:18:30 +00:00
|
|
|
steps:
|
2024-01-28 05:52:52 +00:00
|
|
|
- uses: actions/checkout@v4
|
2021-10-26 16:19:12 +00:00
|
|
|
with:
|
|
|
|
# The repo already contains the qlot and qlot.lock files, and since
|
|
|
|
# we don't want those to interfere with the current test run, we
|
|
|
|
# clone the repository somewhere else (i.e. something different from
|
|
|
|
# the default './')
|
2024-01-28 05:52:52 +00:00
|
|
|
path: setup-lisp
|
2021-10-26 15:18:30 +00:00
|
|
|
- name: Call setup-lisp with default arguments
|
|
|
|
if: github.event_name != 'schedule'
|
2021-10-26 16:19:12 +00:00
|
|
|
uses: ./setup-lisp/
|
2021-10-26 15:18:30 +00:00
|
|
|
- name: Call setup-lisp and install latest
|
|
|
|
if: github.event_name == 'schedule'
|
2021-10-26 16:19:12 +00:00
|
|
|
uses: ./setup-lisp/
|
2021-10-26 15:18:30 +00:00
|
|
|
with:
|
|
|
|
roswell-version: latest
|
|
|
|
# XXX remove this override (i.e. put "latest" back in) after the
|
|
|
|
# following roswell issue has been solved:
|
|
|
|
# https://github.com/roswell/roswell/issues/497
|
|
|
|
asdf-version: 3.3.5.3
|
|
|
|
qlot-version: latest
|
2021-10-27 05:16:26 +00:00
|
|
|
- run: ros config
|
2024-03-12 09:09:44 +00:00
|
|
|
# On OSX this steps fails often:
|
|
|
|
# https://github.com/40ants/setup-lisp/issues/31
|
|
|
|
# I don't know how to fix it, so we'll skip it for now:
|
|
|
|
continue-on-error: true
|
2024-01-26 14:39:24 +00:00
|
|
|
- run: qlot exec ros install 40ants/cl-info
|
|
|
|
- run: qlot exec cl-info
|
|
|
|
|