-
Notifications
You must be signed in to change notification settings - Fork 0
85 lines (83 loc) · 2.72 KB
/
test.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
name: test
on:
workflow_dispatch:
push:
branches: [ main ]
pull_request:
jobs:
test:
name: ${{ matrix.lisp }}
defaults:
run:
shell: bash -l {0}
strategy:
fail-fast: false
matrix:
lisp:
- abcl
- ccl
- clasp
- cmucl
- ecl
- sbcl
runs-on: ubuntu-latest
container:
image: ghcr.io/yitzchak/archlinux-cl:latest
options: --security-opt seccomp:unconfined
steps:
- name: Checkout nontrivial-gray-streams
uses: actions/checkout@v4
with:
repository: yitzchak/nontrivial-gray-streams
path: nontrivial-gray-streams
- name: Checkout Incless
uses: actions/checkout@v4
with:
repository: s-expressionists/Incless
path: incless
ref: quaviver4
- name: Checkout Inravina
uses: actions/checkout@v4
with:
repository: s-expressionists/Inravina
path: inravina
ref: quaviver4
- name: Checkout Invistra
uses: actions/checkout@v4
with:
repository: s-expressionists/Invistra
path: invistra
ref: quaviver4
- name: Checkout Repository
uses: actions/checkout@v4
with:
path: quaviver
- name: Setup Lisp Environment
run: |
make-rc
asdf-add
- name: Run Unit Tests
run: |
lisp -i ${{ matrix.lisp }} -e "(defparameter cl-user::*exit-on-test-failures* t)" -e "(ql:quickload :quaviver/unit-test)" -e "(parachute:test :quaviver/unit-test)"
- name: Run ANSI Tests
run: |
lisp -i ${{ matrix.lisp }} -e "(ql:quickload :quaviver/ansi-test)" -e "(quaviver/ansi-test:test :exit t)"
- name: float-triple/Burger-Dybvig vs Schubfach
if: ${{ matrix.lisp != 'cmucl' }}
run: |
lisp -i ${{ matrix.lisp }} -e "(ql:quickload :quaviver/compare)" -e "(quaviver/compare:float-triple/bd.s/f :coverage 0.001 :exit t :output \"failures-float-triple-bd-s.sexp\")"
- name: float-triple/Schubfach vs Dragonbox
if: ${{ matrix.lisp != 'cmucl' }}
run: |
lisp -i ${{ matrix.lisp }} -e "(ql:quickload :quaviver/compare)" -e "(quaviver/compare:float-triple/s.d/f :coverage 0.001 :exit t :output \"failures-float-triple-s-d.sexp\")"
- name: triple-float/Jaffer vs Liebler
if: ${{ matrix.lisp != 'cmucl' }}
run: |
lisp -i ${{ matrix.lisp }} -e "(ql:quickload :quaviver/compare)" -e "(quaviver/compare:triple-float/j.l/f :coverage 0.001 :exit t :output \"failures-triple-float-j-l.sexp\")"
- name: Upload comparison results
uses: actions/upload-artifact@v4
if: failure()
with:
name: failures-${{ matrix.lisp }}
path: failures-*.sexp
if-no-files-found: ignore