Skip to content

fixup! Ensure that installed systems can be required #17

fixup! Ensure that installed systems can be required

fixup! Ensure that installed systems can be required #17

name: 'Continuous Integration'
on:
workflow_dispatch:
push:
branches-ignore:
- v1
tags-ignore:
- v1.*
jobs:
install-quicklisp-on-tier-1-platforms:
strategy:
matrix:
implementation: ['abcl', 'ecl', 'sbcl']
os: ['ubuntu-latest', 'macos-latest']
runs-on: '${{ matrix.os }}'
name: 'Install QuickLisp'
steps:
- uses: actions/checkout@v3
- name: 'Install MacPorts'
if: runner.os == 'macOS'
uses: melusina-org/setup-macports@v1
- uses: melusina-org/setup-common-lisp@v1
with:
implementation: '${{ matrix.implementation }}'
- uses: ./
id: 'quicklisp'
with:
implementation: '${{ matrix.implementation }}'
additional-systems: >-
alexandria
org.melusina.confidence
- name: 'Ensure that QuickLisp Home exists'
run: |
test -d '${{ steps.quicklisp.outputs.quicklisp-home }}'
- name: 'Ensure that QuickLisp Local Projects exists'
run: |
test -d '${{ steps.quicklisp.outputs.quicklisp-local-projects }}'
- name: 'Ensure that installed systems can be required'
run: >-
./with_lisp_implementation ${{ inputs.implementation }}
'(progn (require "alexandria") (require "org.melusina.confidence"))'
install-quicklisp-on-tier-2-platforms:
needs: install-quicklisp-on-tier-1-platforms
strategy:
matrix:
implementation: ['clisp', 'gcl']
os: ['ubuntu-latest', 'macos-latest']
runs-on: '${{ matrix.os }}'
name: 'Install QuickLisp'
steps:
- uses: actions/checkout@v3
- name: 'Install MacPorts'
if: runner.os == 'macOS'
uses: melusina-org/setup-macports@v1
- uses: melusina-org/setup-common-lisp@v1
continue-on-error: true
with:
implementation: '${{ matrix.implementation }}'
- uses: ./
continue-on-error: true
id: 'quicklisp'
with:
implementation: '${{ matrix.implementation }}'
additional-systems: >-
alexandria
org.melusina.confidence
- name: 'Ensure that QuickLisp Home exists'
continue-on-error: true
run: |
test -d '${{ steps.quicklisp.outputs.quicklisp-home }}'
- name: 'Ensure that QuickLisp Local Projects exists'
continue-on-error: true
run: |
test -d '${{ steps.quicklisp.outputs.quicklisp-local-projects }}'
- name: 'Ensure that installed systems can be required'
continue-on-error: true
run: >-
./with_lisp_implementation ${{ inputs.implementation }}
'(progn (require "alexandria") (require "org.melusina.confidence"))'