forked from kaveh808/kons-9
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (35 loc) · 1.18 KB
/
run-testsuite-darwin-big-sur.yaml
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
name: 'Run testsuite on Big Sur'
on:
- workflow_dispatch
- push
- pull_request
jobs:
run-testsuite:
runs-on: 'macos-11'
permissions:
contents: read
steps:
- name: 'Checkout repository'
uses: actions/checkout@v3
- name: 'Install MacPorts'
id: 'macports'
uses: melusina-org/setup-macports@v1
- name: 'Install Quicklisp in CI environment'
run: >-
sbcl
--load '${{ steps.macports.outputs.prefix }}/share/cl-quicklisp/quicklisp.lisp'
--eval '(quicklisp-quickstart:install)'
--eval '(ql-util:without-prompting (ql:add-to-init-file))'
--quit
- name: 'Add Workspace to Quicklisp local project directories'
run: >-
printf '\n(pushnew \043p\"%s\" ql:*local-project-directories*)\n' "${GITHUB_WORKSPACE}" >> ~/.sbclrc
- name: 'Clone Confidence'
run: |
cd ~/quicklisp/local-projects
git clone https://github.com/melusina-org/cl-confidence.git
- name: 'Register Quicklisp local projects'
run: |
sbcl --eval '(ql:register-local-projects)' --quit
- name: 'Run the testsuite'
run: 'development/testsuite'