Compare commits

..

1 commit

Author SHA1 Message Date
b5f905942d
Apply cache 2025-01-11 14:47:26 +09:00

View file

@ -9,40 +9,36 @@ 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: Restore cache - name: Install Roswell
id: restore-cache if: steps.cache-roswell.outputs.cache-hit != 'true'
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
ros install fukamachi/qlot
- name: Install Qlot
- name: Save cache if: steps.cache-roswell.outputs.cache-hit != 'true'
id: save-cache run: ros install fukamachi/qlot
uses: actions/cache/save@v4
- name: Cache Roswell
id: cache-roswell
uses: actions/cache@v4
with: with:
path: .roswell/ path: .roswell/
key: ${{ steps.restore-cache.outputs.cache-primary-key }} key: roswell-${{ runner.os }}-${{ matrix.lisp }}
- name: Install dependencies - name: Install dependencies
run: | run: |
PATH="~/.roswell/bin:$PATH" PATH="~/.roswell/bin:$PATH"