Use setup-lisp #1

Closed
paku wants to merge 2 commits from ci into main
3 changed files with 57 additions and 29 deletions

26
.forgejo/workflows/CI.yml Normal file
View file

@ -0,0 +1,26 @@
name: 'CI'
on:
push:
branches:
- 'main'
pull_request:
jobs:
test:
runs-on: docker
strategy:
matrix:
lisp:
- sbcl-bin
steps:
- uses: actions/checkout@v4
- uses: https://github.com/40ants/setup-lisp@v4
with:
asdf-system: ningle-fbr
- name: Run tests
run: .qlot/bin/rove ningle-fbr.asd

31
.github/workflows/CI.yml vendored Normal file
View file

@ -0,0 +1,31 @@
name: 'CI'
on:
push:
branches:
- 'main'
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
lisp:
- sbcl-bin
steps:
- uses: actions/checkout@v4
- name: Install dependencies
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: Run tests
run: .qlot/bin/rove ningle-fbr.asd

View file

@ -1,29 +0,0 @@
name: 'test'
on:
push:
branches:
- 'main'
pull_request:
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
lisp:
- sbcl-bin
- ccl-bin
env:
LISP: ${{ matrix.lisp }}
steps:
- uses: actions/checkout@v4
- uses: 40ants/setup-lisp@v4
with:
asdf-system: ningle-fbr
- uses: 40ants/run-tests@v2
with:
asdf-system: ningle-fbr