-
Notifications
You must be signed in to change notification settings - Fork 1
51 lines (50 loc) · 1.77 KB
/
build.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
on:
push:
pull_request:
branches: [ master ]
jobs:
build:
name: Build ${{ matrix.lisp }} on ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
lisp: [ sbcl-bin, allegro ]
os: [ ubuntu-latest ]
runs-on: ${{ matrix.os }}
steps:
- name: Windows specific settings
if: matrix.os == 'windows-latest'
run: |
git config --global core.autocrlf false
echo "ROSWELL_INSTALL_DIR=~/ros" >> "$GITHUB_ENV"
echo "~/ros/bin" >> $GITHUB_PATH
- uses: actions/checkout@v3
- name: cache .roswell
id: cache-dot-roswell
uses: actions/cache@v3
with:
path: ~/.roswell
key: ${{ runner.os }}-dot-roswell-${{ matrix.lisp }}-${{ hashFiles('**/*.asd') }}
restore-keys: |
${{ runner.os }}-dot-roswell-${{ matrix.lisp }}-
${{ runner.os }}-dot-roswell-
- name: install roswell
shell: bash
env:
LISP: ${{ matrix.lisp }}
run: curl -L https://raw.githubusercontent.com/roswell/roswell/master/scripts/install-for-ci.sh | sh
- name: run lisp
continue-on-error: true
shell: bash
run: |
ros -e '(format t "~a:~a on ~a~%...~%~%" (lisp-implementation-type) (lisp-implementation-version) (machine-type))'
ros -e '(format t " fixnum bits:~a~%" (integer-length most-positive-fixnum))'
ros -e "(ql:quickload 'trivial-features)" -e '(format t "features = ~s~%" *features*)'
- name: build deflate
shell: bash
run: |
ros -e '(ql:quickload "deflate")'
- name: test deflate
shell: bash
run: |
ros -e '(ql:quickload "deflate/test")' -e '(if (deflate-test:perform-all-tests) (uiop:quit 0) (uiop:quit 1))'