Compare commits

..

1 commit

Author SHA1 Message Date
fbb36ea960
Apply cache 2025-01-11 15:03:52 +09:00

View file

@ -9,36 +9,40 @@ on:
jobs:
test:
runs-on: docker
strategy:
matrix:
lisp:
- sbcl-bin
env:
LISP: ${{ matrix.lisp }}
steps:
- uses: actions/checkout@v4
- name: Install Roswell
if: steps.cache-roswell.outputs.cache-hit != 'true'
- 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:
LISP: ${{ matrix.lisp }}
run: |
curl -L https://raw.githubusercontent.com/roswell/roswell/master/scripts/install-for-ci.sh | sh
- name: Install Qlot
if: steps.cache-roswell.outputs.cache-hit != 'true'
run: ros install fukamachi/qlot
- name: Cache Roswell
id: cache-roswell
uses: actions/cache@v4
ros install fukamachi/qlot
- name: Save cache
id: save-cache
uses: actions/cache/save@v4
with:
path: .roswell/
key: roswell-${{ runner.os }}-${{ matrix.lisp }}
key: ${{ steps.restore-cache.outputs.cache-primary-key }}
- name: Install dependencies
run: |
PATH="~/.roswell/bin:$PATH"