-
Notifications
You must be signed in to change notification settings - Fork 21
36 lines (31 loc) · 962 Bytes
/
build-and-test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: 'Build and Test'
on:
- workflow_dispatch
- push
jobs:
install-quicklisp:
strategy:
matrix:
implementation: ['sbcl']
os: ['ubuntu-latest', 'macos-latest']
runs-on: '${{ matrix.os }}'
name: 'Install Common Lisp'
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: melusina-org/setup-quicklisp@v1
id: 'quicklisp'
with:
implementation: '${{ matrix.implementation }}'
- name: 'Validate installed implementation'
run: |
test -d '${{ steps.quicklisp.outputs.quicklisp-home }}'
test -d '${{ steps.quicklisp.outputs.quicklisp-local-projects }}'
- name: 'Run tests'
run: |
sbcl --load run-tests.lisp