source: trunk/abcl/.github/workflows/abcl-test.yml

Last change on this file was 15786, checked in by Mark Evenson, 7 months ago

ci: update openjdk installation; tesk openjdk22

File size: 3.0 KB
Line 
1name: Build and extensively test ABCL
2
3on: [push, pull_request]
4
5jobs:
6  test:
7    runs-on: ${{ matrix.os }}
8   
9    strategy:
10      matrix:
11        os: [ubuntu-latest, macos-latest]
12        jdk: [openjdk8, openjdk11, openjdk17, openjdk21, openjdk22]
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@v4
23
24      - name: Install jenv
25        run: |
26          . ./ci/install-jenv.bash
27          echo ~/.jenv/bin >> $GITHUB_PATH
28       
29      - name: Install OpenJDK
30        run: . ./ci/install-openjdk.bash ${JDK_VERSION}
31
32      - name: Install Ant
33        run: |
34          bash -x ./ci/install-ant.bash
35          echo ~/.local/share/java/apache-ant/bin >> $GITHUB_PATH
36
37      - name: Ensure we are using the correct JDK
38        run: . ./ci/ensure-jenv-is-present.bash && ant abcl.diagnostic
39       
40      - name: Set abcl.properties for build
41        run: . ./ci/create-abcl-properties.bash ${JDK_VERSION}
42
43      - name: Build ABCL
44        run: . ./ci/ensure-jenv-is-present.bash && ant abcl
45
46      - name: Configure ASDF to find abcl
47        run: . ./ci/asdf-finds-abcl.bash
48
49      - name:  Install Jeannie for testing
50        run: . ./ci/install-jeannie.bash
51
52      - name:  Install NONTRIVIAL-GRAY-STREAMS for testing
53        run: . ./ci/install-nontrivial-gray-streams.bash
54
55      - name: Install the ANSI-TEST suite
56        run: . ./ci/install-ansi-test.bash
57
58      - name: Install Quicklisp
59        run: |
60          ./abcl \
61            --eval '(require :asdf)' \
62            --eval '(require :abcl-contrib)' \
63            --eval '(asdf:load-system :quicklisp-abcl :force t)' \
64            --eval '(progn (setf ql-util::*do-not-prompt* t)(ql:add-to-init-file))' \
65            --eval '(ext:quit)'
66
67      - name: Test ABCL-PROVE
68        run: ./abcl --batch --load ./ci/test-abcl-prove.lisp
69
70      - name: Test ABCL
71        run: ./abcl --batch --load ./ci/test-abcl.lisp
72
73      - name: Test ABCL-CONTRIB
74        run: ./abcl --batch --load ./ci/test-abcl-contrib.lisp --load ./ci/test-abcl-introspect.lisp
75
76      - name: Test Jeannie
77        run: ./abcl --batch --load ./ci/ensure-maven.lisp --load ./ci/test-jeannie.lisp
78
79      - name: Test NONTRIVIAL-GRAY-STREAMS
80        run: ./abcl --batch --load ./ci/ensure-maven.lisp --load ./ci/test-nontrivial-gray-streams.lisp
81       
82      - name: Test CFFI
83        run: ./abcl --batch --load ./ci/ensure-maven.lisp --load ./ci/test-cffi.lisp
84
85      - name: Test STATIC-VECTORS
86        run: ./abcl --batch --load ./ci/ensure-maven.lisp --load ./ci/test-static-vectors.lisp
87
88      - name: Test CL+SSL
89        run: ./abcl --batch --load ./ci/ensure-maven.lisp --load ./ci/test-cl+ssl.lisp
90
91      - name: Test IRONCLAD
92        run: ./abcl --batch --load ./ci/test-ironclad.lisp
93
94      - name: Run ANSI-TEST suite
95        run: ./abcl --batch --load ./ci/test-ansi.lisp
96
97         
98
99           
100
101
102
103
104     
105 
Note: See TracBrowser for help on using the repository browser.