tweak #2173
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: CI | |
on: | |
push: | |
branches: [ '*' ] | |
pull_request: | |
branches: [ '*' ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Install Roswell | |
env: | |
LISP: ${{ matrix.lisp }} | |
run: | | |
curl -L https://raw.githubusercontent.com/roswell/roswell/v22.12.14.113/scripts/install-for-ci.sh | sh | |
- name: Run test | |
run: | | |
set -ex | |
# workaround for sbcl and log4cl combination problems | |
mkdir ~/common-lisp | |
cd ~/common-lisp | |
git clone https://github.com/sharplispers/log4cl.git | |
cd - | |
ros config set dynamic-space-size 2048 | |
ros install lem-project/async-process lem | |
ros install cxxxr/sblint fukamachi/rove | |
export PATH=$HOME/.roswell/bin:$PATH | |
sblint src/base/lem-base.asd | |
sblint lem.asd | |
sblint lib/lisp-syntax/lem-lisp-syntax.asd | |
sblint extensions/lisp-mode/lem-lisp-mode.asd | |
if [ $(grep -r --include="*.lisp" 'lem::' | wc -l) -ne 0 ]; then | |
echo 'using `lem::` internal symbols' | |
echo 'https://google.github.io/styleguide/lispguide.xml?showone=Packages#Packages' | |
exit 1 | |
fi | |
rove lem-tests.asd | |
rove extensions/vi-mode/lem-vi-mode.asd |