-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (47 loc) · 1.27 KB
/
ci.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
52
53
54
name: CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
test:
name: ${{matrix.lisp}} on ${{matrix.os}}
runs-on: ${{matrix.os}}
strategy:
matrix:
lisp: [sbcl-bin]
os: [ubuntu-latest]
fail-fast: true
steps:
- uses: actions/checkout@v4
- name: Update APT
shell: bash
run: sudo apt-get update
- name: Install GPG
shell: bash
run : sudo apt-get install gpg
- name: Install SBCL
if: ${{matrix.lisp == 'sbcl-bin'}}
shell: bash
run: sudo apt-get install sbcl
- name: Install Quicklisp
shell: bash
run: |
gpg --import misc/quicklisp-release-key.gpg
curl -O https://beta.quicklisp.org/quicklisp.lisp
curl -O https://beta.quicklisp.org/quicklisp.lisp.asc
gpg --verify quicklisp.lisp.asc quicklisp.lisp
sbcl --load quicklisp.lisp --eval '(quicklisp-quickstart:install)'
ln -s $PWD ~/quicklisp/local-projects/cl-contextual
- name: Run Tests
shell: bash
run: ./run-tests
- name: Run Test Coverage
shell: bash
run: ./run-coverage
- name: Upload Test Coverage
uses: actions/upload-artifact@v4
with:
name: code-coverage-report
path: coverage