Add GitHub Actions for mirror repo
All checks were successful
CI / test (sbcl-bin) (push) Successful in 27s
All checks were successful
CI / test (sbcl-bin) (push) Successful in 27s
This commit is contained in:
parent
9dd80a7e60
commit
07bd638462
1 changed files with 59 additions and 0 deletions
59
.github/workflows/CI.yml
vendored
Normal file
59
.github/workflows/CI.yml
vendored
Normal file
|
@ -0,0 +1,59 @@
|
|||
name: 'CI'
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'master'
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
lisp:
|
||||
- sbcl-bin
|
||||
|
||||
steps:
|
||||
- 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
|
||||
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
|
||||
ros install fukamachi/qlot
|
||||
PATH="~/.roswell/bin:$PATH"
|
||||
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
|
||||
run: .qlot/bin/rove hsx.asd
|
Loading…
Reference in a new issue