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