Use named-readtables #187
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 | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: "0 0 * * SUN" | |
jobs: | |
ci-config: | |
runs-on: ubuntu-latest | |
outputs: | |
enabled: ${{ steps.set-enabled.outputs.enabled }} | |
roswell-version: ${{ steps.set-deps-versions.outputs.roswell-version }} | |
asdf-version: ${{ steps.set-deps-versions.outputs.asdf-version }} | |
qlot-version: ${{ steps.set-deps-versions.outputs.qlot-version }} | |
steps: | |
- id: set-enabled | |
name: Set enabled | |
run: | | |
event_name=${{ github.event_name }} | |
pull_request_repo=${{ github.event.pull_request.head.repo.full_name }} | |
repo=${{ github.repository }} | |
enabled=no | |
# 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 test "$event_name" != 'pull_request' -o "$pull_request_repo" != "$repo" | |
then | |
enabled=yes | |
fi | |
echo "::set-output name=enabled::$enabled" | |
- id: set-deps-versions | |
name: Set dependencies versions | |
run: | | |
event_name=${{ github.event_name }} | |
roswell_version=latest | |
asdf_version=latest | |
qlot_version=latest | |
if [[ $event_name == 'schedule' ]]; then | |
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=latest | |
asdf_version=3.3.5.3 | |
qlot_version=latest | |
fi | |
echo "::set-output name=roswell-version::$roswell_version" | |
echo "::set-output name=asdf-version::$asdf_version" | |
echo "::set-output name=qlot-version::$qlot_version" | |
tests: | |
needs: ci-config | |
# Not because I expect tests to take this long...it's just that different | |
# implementation will take way longer to get the image up and running, as | |
# compared to SBCL. | |
timeout-minutes: 20 | |
if: needs.ci-config.outputs.enabled == 'yes' | |
strategy: | |
fail-fast: false # Let the workflow continue as much as possible | |
matrix: | |
lisp: [ allegro, ccl, cmucl, ecl ] | |
experimental: [ true ] | |
include: | |
- lisp: abcl | |
experimental: false | |
- lisp: sbcl-bin | |
experimental: false | |
env: | |
LISP: ${{ matrix.lisp }} | |
PRIMARY_KEY: ${{ secrets.PRIMARY_KEY }} | |
KEY_DERIVATION_SALT: ${{ secrets.KEY_DERIVATION_SALT }} | |
defaults: | |
run: | |
shell: lispsh {0} | |
name: tests [lisp=${{ matrix.lisp }}] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: 40ants/setup-lisp@v2 | |
with: | |
roswell-version: ${{ needs.ci-config.outputs.roswell-version }} | |
asdf-version: ${{ needs.ci-config.outputs.asdf-version }} | |
qlot-version: ${{ needs.ci-config.outputs.qlot-version }} | |
- uses: actions/checkout@v2 | |
- run: make lisp-info-ros | |
- run: make test-ros | |
continue-on-error: ${{ matrix.experimental }} | |
report-warnings: | |
needs: ci-config | |
# Not because I expect tests to take this long...it's just that different | |
# implementation will take way longer to get the image up and running, as | |
# compared to SBCL. | |
timeout-minutes: 20 | |
if: needs.ci-config.outputs.enabled == 'yes' | |
strategy: | |
fail-fast: false # Let the workflow continue as much as possible | |
matrix: | |
lisp: [ abcl, allegro, ccl, cmucl, ecl ] | |
include: | |
- lisp: sbcl-bin | |
env: | |
LISP: ${{ matrix.lisp }} | |
defaults: | |
run: | |
shell: lispsh {0} | |
name: report-warnings [lisp=${{ matrix.lisp }}] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: 40ants/setup-lisp@v2 | |
with: | |
roswell-version: ${{ needs.ci-config.outputs.roswell-version }} | |
asdf-version: ${{ needs.ci-config.outputs.asdf-version }} | |
qlot-version: ${{ needs.ci-config.outputs.qlot-version }} | |
- uses: actions/checkout@v2 | |
- run: make lisp-info-ros | |
- run: make report-warnings-ros | |
continue-on-error: true # XXX not ready for this yet. Stil... |