-
Notifications
You must be signed in to change notification settings - Fork 0
58 lines (54 loc) · 1.67 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: CI
on:
push:
branches: [ "main" ]
paths-ignore:
- 'README.org'
pull_request:
branches: [ "main" ]
workflow_dispatch:
schedule:
- cron: '0 0 1 * *'
jobs:
test:
name: ${{ matrix.lisp }} / ${{ matrix.quicklisp-dist }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
lisp: [sbcl-bin, ccl-bin/1.12.2, ecl/23.9.9]
os: [ubuntu-latest, windows-latest, macos-latest]
quicklisp-dist:
- quicklisp
- ultralisp
exclude:
- os: windows-latest
lisp: ecl/23.9.9
env:
LISP: ${{ matrix.lisp }}
QUICKLISP_DIST: ${{ matrix.quicklisp-dist }}
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Setup Lisp
continue-on-error: true
uses: 40ants/setup-lisp@v2
with:
qlfile-template: |
{% ifequal quicklisp_dist "ultralisp" %}
dist ultralisp http://dist.ultralisp.org
{% endifequal %}
- name: Run tests (Non-Windows)
if: runner.os != 'Windows'
shell: bash
run: |
ros install neil-lindquist/ci-utils
ros run --eval '(ql:quickload :chronogram/make-dist)' --eval '(progn (chronogram-dist:make-dist) (uiop:quit))'
run-fiveam -e t -l chronogram/test :chronogram
- name: Run tests (Windows)
if: runner.os == 'Windows'
shell: msys2 {0}
run: |
ros install neil-lindquist/ci-utils
ros run --eval '(ql:quickload :chronogram/make-dist)' --eval '(progn (chronogram-dist:make-dist) (uiop:quit))'
run-fiveam -e t -l chronogram/test :chronogram