-
Notifications
You must be signed in to change notification settings - Fork 3
57 lines (52 loc) · 1.65 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
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:
- ultralisp
exclude:
- os: windows-latest
lisp: ecl/23.9.9
env:
LISP: ${{ matrix.lisp }}
QUICKLISP_DIST: ${{ matrix.quicklisp-dist }}
steps:
- uses: actions/checkout@v3
- 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
run-fiveam -e t -l frugal-uuid/test :frugal-uuid
run-fiveam -e t -l frugal-uuid/non-frugal -l frugal-uuid/test :frugal-uuid
- name: Run tests (Windows)
if: runner.os == 'Windows'
shell: msys2 {0}
run: |
ros --eval '(ql-dist:install-dist "http://dist.ultralisp.org/" :prompt nil)' --eval '(uiop:quit)'
ros install neil-lindquist/ci-utils
run-fiveam -e t -l frugal-uuid/test :frugal-uuid
run-fiveam -e t -l frugal-uuid/non-frugal -l frugal-uuid/test :frugal-uuid