From bfb89d7e9bde425a1f9093d5022868de7eda113a Mon Sep 17 00:00:00 2001 From: Jan Moringen Date: Fri, 20 Dec 2024 12:05:19 +0100 Subject: [PATCH] Test compiling and loading the system via GitHub Actions --- .github/workflows/test.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..3aee724 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,32 @@ +name: test + +on: [push] + +jobs: + + test: + runs-on: ubuntu-latest + + steps: + - name: Prepare runner + run: | + DEBIAN_FRONTEND=noninteractive sudo apt-get -qq update \ + && DEBIAN_FRONTEND=noninteractive sudo apt-get -qq --assume-yes install \ + sbcl + + - uses: actions/checkout@v4 + + - name: Install quicklisp + run: | + wget https://beta.quicklisp.org/quicklisp.lisp + sbcl --noinform \ + --load quicklisp.lisp \ + --eval '(quicklisp-quickstart:install)' \ + --quit + + - name: Run tests + run: | + sbcl --noinform --disable-debugger \ + --load "${HOME}/quicklisp/setup.lisp" \ + --eval '(asdf:initialize-source-registry (quote (:source-registry (:directory "'"$(pwd)"'") :ignore-inherited-configuration)))' \ + --eval '(ql:quickload "spell")'