Skip to content

Commit

Permalink
Test compiling and loading the system via GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
scymtym committed Dec 20, 2024
1 parent a42be41 commit bfb89d7
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -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")'

0 comments on commit bfb89d7

Please sign in to comment.