Skip to content

Commit

Permalink
Support ABCL
Browse files Browse the repository at this point in the history
  • Loading branch information
foretspaisibles committed Sep 15, 2023
1 parent 75bc3fe commit fa24183
Showing 1 changed file with 97 additions and 9 deletions.
106 changes: 97 additions & 9 deletions .github/workflows/Delivery.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,100 @@
name: Delivery

name: 'Continuous Integration of Lisp System'
on:
- workflow_dispatch

workflow_call:
inputs:
main-system:
required: true
type: string
testsuite-system:
required: true
type: string
testsuite-entrypoint:
required: true
type: string
linter-system:
required: true
type: string
linter-entrypoint:
required: true
type: string
jobs:
delivery:
runs-on: ubuntu-latest
timeout-minutes: 60
testsuite-fast:
name: 'Run Fast Testsuite'
strategy:
matrix:
implementation: ['abcl']
os: ['ubuntu-latest']
runs-on: ${{ matrix.os }}
permissions:
contents: read
steps:
- uses: actions/checkout@v1
- uses: foretspaisibles/cl-atelier/actions/makedoc@github
- name: 'Checkout repository'
uses: actions/checkout@v3
- name: 'Setup Common Lisp'
uses: melusina-org/setup-common-lisp@v1
with:
implementation: ${{ matrix.implementation }}
- name: 'Setup QuickLisp'
uses: melusina-org/setup-quicklisp@v1
with:
implementation: ${{ matrix.implementation }}
- name: 'Compile main system with ASDF'
uses: melusina-org/asdf-operate@v1
with:
implementation: ${{ matrix.implementation }}
system: '${{ inputs.main-system }}'
operation: 'asdf:compile-op'
- name: 'Compile testsuite system with ASDF'
uses: melusina-org/asdf-operate@v1
with:
implementation: ${{ matrix.implementation }}
system: '${{ inputs.testsuite-system }}'
operation: 'asdf:compile-op'
- name: 'Compile linter system with ASDF'
uses: melusina-org/asdf-operate@v1
with:
implementation: ${{ matrix.implementation }}
system: '${{ inputs.linter-system }}'
operation: 'asdf:compile-op'
- name: 'Run the testsuite'
uses: melusina-org/run-common-lisp-program@v1
with:
implementation: ${{ matrix.implementation }}
system: '${{ inputs.testsuite-system }}'
entrypoint: '${{ inputs.testsuite-entrypoint }}'
testsuite-tier-1:
name: 'Run Testsuite Tier 1'
needs: testsuite-fast
strategy:
matrix:
implementation: ['abcl']
os: ['ubuntu-latest', 'macos-latest']
runs-on: ${{ matrix.os }}
permissions:
contents: read
steps:
- name: 'Install MacPorts'
if: runner.os == 'macOS'
uses: melusina-org/gha-install-macports@v1
- name: 'Checkout repository'
uses: actions/checkout@v3
- name: 'Setup Common Lisp'
uses: melusina-org/setup-common-lisp@v1
with:
implementation: ${{ matrix.implementation }}
- name: 'Setup QuickLisp'
uses: melusina-org/setup-quicklisp@v1
with:
implementation: ${{ matrix.implementation }}
- name: 'Compile with ASDF'
uses: melusina-org/asdf-operate@v1
with:
implementation: ${{ matrix.implementation }}
system: '${{ inputs.testsuite-system }}'
operation: 'asdf:compile-op'
- name: 'Run the testsuite'
uses: melusina-org/run-common-lisp-program@v1
with:
implementation: ${{ matrix.implementation }}
system: '${{ inputs.testsuite-system }}'
entrypoint: '${{ inputs.testsuite-entrypoint }}'

0 comments on commit fa24183

Please sign in to comment.