-
Notifications
You must be signed in to change notification settings - Fork 2
52 lines (45 loc) · 1.56 KB
/
test.yml
File metadata and controls
52 lines (45 loc) · 1.56 KB
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
name: Test
on:
push:
pull_request:
schedule:
# Every Friday at 18:23
- cron: "23 18 * * 5"
jobs:
test:
name: ${{ matrix.lisp }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
timeout-minutes: 30
strategy:
matrix:
lisp: [abcl-bin, ccl-bin, clisp, cmu-bin/21e, ecl, sbcl-bin]
os: [ubuntu-latest]
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Let ASDF find the project
run: mkdir ~/common-lisp; ln -s `pwd` ~/common-lisp/try
- name: Install Roswell
env:
LISP: ${{ matrix.lisp }}
run: |
curl -L https://raw.githubusercontent.com/roswell/roswell/master/scripts/install-for-ci.sh | sh
- name: Install latest stuff from GitHub
run: |
# KLUDGE: 'ros install' wants to compile things immediately
# after downloading, but there are circular dependencies on
# the repository level. There are no circular dependencies
# at the ASDF level though, so let's just clone everything
# before compiling.
cd ~/.roswell/local-projects/
git clone --depth 1 https://github.com/melisgl/autoload
git clone --depth 1 https://github.com/melisgl/named-readtables
git clone --depth 1 https://github.com/melisgl/dref
git clone --depth 1 https://github.com/melisgl/mgl-pax
- name: Run tests
env:
LISP: ${{ matrix.lisp }}
run: |
ros run -e '(ql:quickload "try/test")' -q
./test/test.sh $LISP