Build and test #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and test | |
on: workflow_dispatch | |
env: | |
URL: https://github.com/Clozure/ccl/releases/latest/download/linuxx86.tar.gz | |
jobs: | |
linux: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out source | |
uses: actions/checkout@v4 | |
with: | |
path: ccl | |
- name: Fetch bootstrapping binaries | |
run: | | |
curl --no-progress-meter -L -O ${{ env.URL }} | |
- name: Install bootstrapping binaries | |
run: | | |
cd ccl | |
tar xf ../linuxx86.tar.gz | |
- name: Compile lisp kernel | |
run: | | |
cd ccl/lisp-kernel/linuxx8664 | |
make | |
- name: Rebuild CCL | |
run: | | |
cd ccl | |
git describe | |
./lx86cl64 --batch -e '(progn | |
(print (ccl::ccl-directory)) | |
(print (ccl::local-git-revision)))' </dev/null | |
./lx86cl64 --batch --quiet -n -e '(rebuild-ccl :clean t)' </dev/null | |
# see if it works to start up the just-compiled lisp | |
./lx86cl64 --batch -n </dev/null | |
- name: Bail out | |
run: exit 1 | |
- name: Check out tests | |
uses: actions/checkout@v4 | |
with: | |
repository: Clozure/ccl-tests | |
path: ccl-tests | |
- name: Run tests | |
run: | | |
cd ccl-tests | |
make CCL=../ccl/lx86cl64 | |