This commit is contained in:
parent
46fad5d5f8
commit
fbb36ea960
1 changed files with 22 additions and 5 deletions
|
@ -9,27 +9,44 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
lisp:
|
lisp:
|
||||||
- sbcl-bin
|
- sbcl-bin
|
||||||
|
|
||||||
env:
|
env:
|
||||||
LISP: ${{ matrix.lisp }}
|
LISP: ${{ matrix.lisp }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Install Roswell
|
|
||||||
|
- name: Restore cache
|
||||||
|
id: restore-cache
|
||||||
|
uses: actions/cache/restore@v4
|
||||||
|
with:
|
||||||
|
path: .roswell/
|
||||||
|
key: roswell-${{ runner.os }}-${{ matrix.lisp }}
|
||||||
|
|
||||||
|
- name: Install Roswell and Qlot
|
||||||
|
if: steps.restore-cache.outputs.cache-hit != 'true'
|
||||||
env:
|
env:
|
||||||
LISP: ${{ matrix.lisp }}
|
LISP: ${{ matrix.lisp }}
|
||||||
run: |
|
run: |
|
||||||
curl -L https://raw.githubusercontent.com/roswell/roswell/master/scripts/install-for-ci.sh | sh
|
curl -L https://raw.githubusercontent.com/roswell/roswell/master/scripts/install-for-ci.sh | sh
|
||||||
- name: Install Qlot
|
ros install fukamachi/qlot
|
||||||
run: ros install fukamachi/qlot
|
|
||||||
|
- name: Save cache
|
||||||
|
id: save-cache
|
||||||
|
uses: actions/cache/save@v4
|
||||||
|
with:
|
||||||
|
path: .roswell/
|
||||||
|
key: ${{ steps.restore-cache.outputs.cache-primary-key }}
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
PATH="~/.roswell/bin:$PATH"
|
PATH="~/.roswell/bin:$PATH"
|
||||||
qlot install
|
qlot install
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: .qlot/bin/rove hsx.asd
|
run: .qlot/bin/rove hsx.asd
|
||||||
|
|
Loading…
Reference in a new issue