diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 5a80d17..c370e39 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -22,24 +22,34 @@ jobs: - uses: actions/checkout@v4 - - name: Install SBCL (macOS) - if: startsWith(matrix.OS, 'macos') - run: brew install sbcl + - name: Install Roswell and SBCL (Ubuntu) + if: startsWith(matrix.OS, 'ubuntu') + run: | + curl -L https://raw.githubusercontent.com/roswell/roswell/master/scripts/install-for-ci.sh | sh + ros install sbcl-bin - - name: Install SBCL (Ubuntu) + - name: Dump lisp image (Ubuntu) if: startsWith(matrix.OS, 'ubuntu') - run: sudo apt install sbcl + run: | + ros run -- \ + --load cl-repl.asd \ + --eval '(ql:quickload :cl-repl)' \ + --eval '(asdf:make :cl-repl)' \ + --quit - - name: Install quicklisp + - name: Install SBCL and quicklisp (macOS) + if: startsWith(matrix.OS, 'macos') run: | + brew install sbcl wget https://beta.quicklisp.org/quicklisp.lisp - echo -ne '\n' | \ + echo -ne '\n' sbcl --load quicklisp.lisp \ --eval '(quicklisp-quickstart:install)' \ --eval '(ql:add-to-init-file)' \ --quit - - name: Dump lisp image + - name: Dump lisp image (macOS) + if: startsWith(matrix.OS, 'macos') run: | sbcl --load cl-repl.asd \ --eval '(ql:quickload :cl-repl)' \