1 | name: Build and extensively test ABCL |
---|
2 | |
---|
3 | on: [push, pull_request] |
---|
4 | |
---|
5 | jobs: |
---|
6 | test: |
---|
7 | runs-on: ${{ matrix.os }} |
---|
8 | |
---|
9 | strategy: |
---|
10 | matrix: |
---|
11 | os: [ubuntu-latest, macos-latest] |
---|
12 | jdk: [openjdk8, openjdk11, openjdk17, openjdk19] |
---|
13 | |
---|
14 | steps: |
---|
15 | - name: Set path for build scripts |
---|
16 | run: echo "ABCL_ROOT=${GITHUB_WORKSPACE}" >> $GITHUB_ENV |
---|
17 | |
---|
18 | - name: Set JDK version in environment |
---|
19 | run: echo "JDK_VERSION=${{ matrix.jdk }}" >> $GITHUB_ENV |
---|
20 | |
---|
21 | - name: Clone ABCL |
---|
22 | uses: actions/checkout@v2 |
---|
23 | |
---|
24 | - name: Install Java base for Ant |
---|
25 | uses: actions/setup-java@v1 |
---|
26 | with: |
---|
27 | java-version: 8 |
---|
28 | |
---|
29 | - name: Setup jenv |
---|
30 | run: bash -x ./ci/ensure-jenv-is-present.bash && ant abcl.diagnostic |
---|
31 | |
---|
32 | - name: Install OpenJDK |
---|
33 | run: bash -x ./ci/install-openjdk.bash ${JDK_VERSION} |
---|
34 | |
---|
35 | - name: Set abcl.properties for build |
---|
36 | run: bash -x ./ci/create-abcl-properties.bash ${JDK_VERSION} |
---|
37 | |
---|
38 | - name: Build ABCL |
---|
39 | run: bash -x ./ci/ensure-jenv-is-present.bash && $HOME/.jenv/shims/ant abcl |
---|
40 | |
---|
41 | - name: Configure ASDF to find abcl |
---|
42 | run: bash -x ./ci/asdf-finds-abcl.bash |
---|
43 | |
---|
44 | - name: Install Jeannie for testing |
---|
45 | run: bash -x ./ci/install-jeannie.bash |
---|
46 | |
---|
47 | - name: Install the ANSI-TEST suite |
---|
48 | run: bash -x ./ci/install-ansi-test.bash |
---|
49 | |
---|
50 | - name: Install Quicklisp |
---|
51 | run: | |
---|
52 | ./abcl \ |
---|
53 | --eval '(require :asdf)' \ |
---|
54 | --eval '(require :abcl-contrib)' \ |
---|
55 | --eval '(asdf:load-system :quicklisp-abcl :force t)' \ |
---|
56 | --eval '(progn (setf ql-util::*do-not-prompt* t)(ql:add-to-init-file))' \ |
---|
57 | --eval '(ext:quit)' |
---|
58 | |
---|
59 | - name: Test ABCL-PROVE |
---|
60 | run: ./abcl --batch --load ./ci/test-abcl-prove.lisp |
---|
61 | |
---|
62 | - name: Test ABCL |
---|
63 | run: ./abcl --batch --load ./ci/test-abcl.lisp |
---|
64 | |
---|
65 | - name: Test ABCL-INTROSPECT |
---|
66 | run: ./abcl --batch --load ./ci/test-abcl-introspect.lisp |
---|
67 | |
---|
68 | - name: Test Jeannie |
---|
69 | run: ./abcl --batch --load ./ci/ensure-maven.lisp --load ./ci/test-jeannie.lisp |
---|
70 | |
---|
71 | - name: Test CFFI |
---|
72 | run: ./abcl --batch --load ./ci/ensure-maven.lisp --load ./ci/test-cffi.lisp |
---|
73 | |
---|
74 | - name: Test STATIC-VECTORS |
---|
75 | run: ./abcl --batch --load ./ci/ensure-maven.lisp --load ./ci/test-static-vectors.lisp |
---|
76 | |
---|
77 | - name: Test CL+SSL |
---|
78 | run: ./abcl --batch --load ./ci/ensure-maven.lisp --load ./ci/test-cl+ssl.lisp |
---|
79 | |
---|
80 | - name: Test IRONCLAD |
---|
81 | run: ./abcl --batch --load ./ci/test-ironclad.lisp |
---|
82 | |
---|
83 | - name: Run ANSI-TEST suite |
---|
84 | run: ./abcl --batch --load ./ci/test-ansi.lisp |
---|
85 | |
---|
86 | |
---|
87 | |
---|
88 | |
---|
89 | |
---|
90 | |
---|
91 | |
---|
92 | |
---|
93 | |
---|
94 | |
---|