-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (30 loc) · 1.23 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
### Adapted from: https://github.com/neil-lindquist/CI-Utils/blob/master/config-examples/.github/workflows/ci.yml
name: CI
# Github Actions allows for running jobs on a wide variety of events
on:
push: # Commits pushed to Github
pull_request: # Pull request is update
workflow_dispatch: # Manually dispatched from Github's UI
jobs:
test:
name: "sbcl on ubuntu"
runs-on: ubuntu-latest
steps:
# This action checks out our code in the working directory
- uses: actions/checkout@v2
# setup-lisp requires an env variable to be set, not matrix.lisp
- name: Set LISP env var
run: echo "LISP=sbcl-bin" >> $GITHUB_ENV
# This action installs roswell and a few other utilities such as qlot
- uses: 40ants/setup-lisp@v2
# These steps run our tests
# Windows needs to be run with the msys2 shell due to how roswell is installed
- name: Run tests
shell: bash
run: |
# Install the roswell script for the test library
ros install neil-lindquist/ci-utils # for run-fiveam
#ros install prove # for run-prove:
#ros install rove # for [run-] rove
# Run the tests
run-fiveam -e t -l homestead/tests :homestead-tests