setup-lisp/.github/workflows/install.yml

80 lines
2.1 KiB
YAML
Raw Normal View History

2021-01-26 10:22:52 +00:00
name: 'Check Installation'
on:
# This will run tests on pushes
# to master branch or on pull merges:
push:
branches:
- 'main'
- 'master'
# This will run tests for every pull request:
pull_request:
# Rerun tests at 10 AM every Monday
# to check if they still work with latest dependencies.
schedule:
- cron: '0 10 * * 1'
jobs:
run_tests:
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
quicklisp-dist:
- quicklisp
- ultralisp
2021-01-26 10:22:52 +00:00
lisp:
2021-01-26 21:00:30 +00:00
- sbcl-bin
- ccl-bin
- ecl
- abcl
2021-01-26 21:00:30 +00:00
- allegro
- clisp
- cmucl
include:
# Seems allegro is does not support 64bit OSX.
# Unable to install it using Roswell:
# alisp is not executable. Missing 32bit glibc?
2021-01-26 21:00:30 +00:00
- lisp: allegro
os: macos-latest
2021-01-26 21:00:30 +00:00
can-fail: true
# CLisp on Ubuntu can't be installed because of the error:
# #<FOREIGN-VARIABLE "rl_readline_state" #x00007FA93E698850> does not have
# the required size or alignment
- lisp: clisp
os: ubuntu-latest
can-fail: true
# CMUCL is 32bit and cant' work on 64bit OSX:
# .roswell/impls/x86-64/darwin/cmu-bin/21d/bin/lisp is not executable. Missing 32bit glibc?
- lisp: cmucl
os: macos-latest
can-fail: true
2021-01-26 10:22:52 +00:00
2021-01-26 10:22:52 +00:00
runs-on: ${{ matrix.os }}
2021-01-26 20:51:22 +00:00
continue-on-error: ${{ matrix.can-fail || false }}
2021-01-26 10:22:52 +00:00
env:
LISP: ${{ matrix.lisp }}
OS: ${{ matrix.os }}
2021-01-26 11:34:05 +00:00
QUICKLISP_DIST: ${{ matrix.quicklisp-dist }}
2021-01-26 10:22:52 +00:00
steps:
- uses: actions/checkout@v1
2021-02-02 06:11:27 +00:00
- uses: 40ants/cl-info/.github/actions/setup
2021-01-27 08:45:28 +00:00
- name: Install System
2021-01-26 10:22:52 +00:00
run: |
2021-01-26 11:34:05 +00:00
if [[ "${QUICKLISP_DIST}" == 'quicklisp' ]]; then
qlot exec ros install 40ants/defmain
fi
2021-01-27 07:33:00 +00:00
qlot exec ros install cl-info
2021-01-27 08:45:28 +00:00
- name: Run Tests
2021-01-26 10:22:52 +00:00
run: |
2021-01-27 07:41:20 +00:00
set -x
qlot exec cl-info --help
qlot exec cl-info --version
qlot exec cl-info cl-info