-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
75bc3fe
commit fa24183
Showing
1 changed file
with
97 additions
and
9 deletions.
There are no files selected for viewing
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
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 }}' |