2021-10-26 15:18:30 +00:00
|
|
|
name: tests
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
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
|
|
|
# We want to run on external PRs, but not on our own internal PRs as
|
|
|
|
# they'll be run by the push to the branch.
|
|
|
|
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
|
|
|
|
strategy:
|
|
|
|
fail-fast: false # Let the workflow continue as much as possible
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: ubuntu-latest
|
|
|
|
lisp: sbcl-bin
|
|
|
|
- os: macos-latest
|
|
|
|
lisp: sbcl-bin
|
|
|
|
- os: windows-latest
|
|
|
|
lisp: sbcl-bin
|
|
|
|
defaults:
|
|
|
|
run:
|
2021-10-27 05:16:26 +00:00
|
|
|
shell: lispsh {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 }}
|
|
|
|
steps:
|
2021-10-26 16:19:12 +00:00
|
|
|
- uses: actions/checkout@v2
|
|
|
|
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 './')
|
|
|
|
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
|
2021-10-26 15:18:30 +00:00
|
|
|
- run: qlot exec ros install 40ants/gh-pages
|