-
Notifications
You must be signed in to change notification settings - Fork 31
101 lines (64 loc) · 2.95 KB
/
abcl-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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
name: Build and extensively test ABCL
on: [push, pull_request]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
jdk: [openjdk8, openjdk11, openjdk17, openjdk21]
steps:
- name: Set path for build scripts
run: echo "ABCL_ROOT=${GITHUB_WORKSPACE}" >> $GITHUB_ENV
- name: Set JDK version in environment
run: echo "JDK_VERSION=${{ matrix.jdk }}" >> $GITHUB_ENV
- name: Clone ABCL
uses: actions/checkout@v4
- name: Install Java base for Ant
uses: actions/setup-java@v1
- name: Install jenv
run: bash -x ./ci/install-jenv.bash
- name: Install OpenJDK
run: bash -x ./ci/install-openjdk.bash ${JDK_VERSION}
- name: Ensure we are using the correct JDK
run: bash -x ./ci/ensure-jenv-is-present.bash && ant abcl.diagnostic
- name: Set abcl.properties for build
run: bash -x ./ci/create-abcl-properties.bash ${JDK_VERSION}
- name: Build ABCL
run: bash -x ./ci/ensure-jenv-is-present.bash && ant abcl
- name: Configure ASDF to find abcl
run: bash -x ./ci/asdf-finds-abcl.bash
- name: Install Jeannie for testing
run: bash -x ./ci/install-jeannie.bash
- name: Install NONTRIVIAL-GRAY-STREAMS for testing
run: bash -x ./ci/install-nontrivial-gray-streams.bash
- name: Install the ANSI-TEST suite
run: bash -x ./ci/install-ansi-test.bash
- name: Install Quicklisp
run: |
./abcl \
--eval '(require :asdf)' \
--eval '(require :abcl-contrib)' \
--eval '(asdf:load-system :quicklisp-abcl :force t)' \
--eval '(progn (setf ql-util::*do-not-prompt* t)(ql:add-to-init-file))' \
--eval '(ext:quit)'
- name: Test ABCL-PROVE
run: ./abcl --batch --load ./ci/test-abcl-prove.lisp
- name: Test ABCL
run: ./abcl --batch --load ./ci/test-abcl.lisp
- name: Test ABCL-CONTRIB
run: ./abcl --batch --load ./ci/test-abcl-contrib.lisp --load ./ci/test-abcl-introspect.lisp
- name: Test Jeannie
run: ./abcl --batch --load ./ci/ensure-maven.lisp --load ./ci/test-jeannie.lisp
- name: Test NONTRIVIAL-GRAY-STREAMS
run: ./abcl --batch --load ./ci/ensure-maven.lisp --load ./ci/test-nontrivial-gray-streams.lisp
- name: Test CFFI
run: ./abcl --batch --load ./ci/ensure-maven.lisp --load ./ci/test-cffi.lisp
- name: Test STATIC-VECTORS
run: ./abcl --batch --load ./ci/ensure-maven.lisp --load ./ci/test-static-vectors.lisp
- name: Test CL+SSL
run: ./abcl --batch --load ./ci/ensure-maven.lisp --load ./ci/test-cl+ssl.lisp
- name: Test IRONCLAD
run: ./abcl --batch --load ./ci/test-ironclad.lisp
- name: Run ANSI-TEST suite
run: ./abcl --batch --load ./ci/test-ansi.lisp