hsx/.forgejo/workflows/CI.yml

49 lines
1 KiB
YAML
Raw Normal View History

name: 'CI'
on:
push:
branches:
- 'master'
pull_request:
jobs:
test:
runs-on: docker
strategy:
matrix:
lisp:
- sbcl-bin
env:
LISP: ${{ matrix.lisp }}
steps:
- uses: actions/checkout@v4
2025-01-11 05:47:26 +00:00
- name: Install Roswell
2025-01-11 05:47:26 +00:00
if: steps.cache-roswell.outputs.cache-hit != 'true'
env:
LISP: ${{ matrix.lisp }}
run: |
curl -L https://raw.githubusercontent.com/roswell/roswell/master/scripts/install-for-ci.sh | sh
2025-01-11 05:47:26 +00:00
- name: Install Qlot
2025-01-11 05:47:26 +00:00
if: steps.cache-roswell.outputs.cache-hit != 'true'
run: ros install fukamachi/qlot
2025-01-11 05:47:26 +00:00
- name: Cache Roswell
id: cache-roswell
uses: actions/cache@v4
with:
path: .roswell/
key: roswell-${{ runner.os }}-${{ matrix.lisp }}
- name: Install dependencies
run: |
PATH="~/.roswell/bin:$PATH"
qlot install
2025-01-11 05:47:26 +00:00
- name: Run tests
run: .qlot/bin/rove hsx.asd