Improve CI workflow
All checks were successful
CI / test (sbcl-bin) (push) Successful in 5m42s

This commit is contained in:
paku 2025-01-12 01:27:21 +09:00
parent 17fe4de76a
commit 2562363e20
Signed by: paku
GPG key ID: 5B4E8402BCC50607
2 changed files with 14 additions and 39 deletions

View file

@ -17,22 +17,8 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Restore cache
id: restore-cache
uses: actions/cache/restore@v4
with:
path: |
/usr/local/bin/ros
/usr/local/etc/roswell/
~/.roswell
~/.config/common-lisp/source-registry.conf.d
~/lisp
.qlot/
key: roswell-${{ runner.os }}-${{ matrix.lisp }}-${{ hashFiles('qlfile.lock') }}
- name: Install dependencies - name: Install dependencies
if: steps.restore-cache.outputs.cache-hit != 'true'
env: env:
LISP: ${{ matrix.lisp }} LISP: ${{ matrix.lisp }}
run: | run: |
@ -41,19 +27,5 @@ jobs:
PATH="~/.roswell/bin:$PATH" PATH="~/.roswell/bin:$PATH"
qlot install qlot install
- name: Save cache
id: save-cache
uses: actions/cache/save@v4
if: steps.restore-cache.outputs.cache-hit != 'true'
with:
path: |
/usr/local/bin/ros
/usr/local/etc/roswell/
~/.roswell
~/.config/common-lisp/source-registry.conf.d
~/lisp
.qlot/
key: ${{ steps.restore-cache.outputs.cache-primary-key }}
- name: Run tests - name: Run tests
run: .qlot/bin/rove lack-mw.asd run: .qlot/bin/rove lack-mw.asd

View file

@ -7,7 +7,7 @@ on:
pull_request: pull_request:
jobs: jobs:
tests: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
@ -15,14 +15,17 @@ jobs:
lisp: lisp:
- sbcl-bin - sbcl-bin
env:
LISP: ${{ matrix.lisp }}
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: 40ants/setup-lisp@v4
with: - name: Install dependencies
asdf-system: lack-mw env:
- uses: 40ants/run-tests@v2 LISP: ${{ matrix.lisp }}
with: run: |
asdf-system: lack-mw curl -L https://raw.githubusercontent.com/roswell/roswell/master/scripts/install-for-ci.sh | sh
ros install fukamachi/qlot
PATH="~/.roswell/bin:$PATH"
qlot install
- name: Run tests
run: .qlot/bin/rove lack-mw.asd