-
-
Notifications
You must be signed in to change notification settings - Fork 176
51 lines (41 loc) · 1.26 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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 modes/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