45 lines (45 loc) · 1.26 KB
/
build.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
name: build
on: [create, workflow_dispatch]
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
env:
LISP: sbcl-bin
steps:
- name: Restore cache
id: cache-ql
uses: actions/cache@v3
with:
path: |
~/.roswell
~/.cache/common-lisp
~/AppData/Local/cache
key: ${{ runner.os }}-ql
- name: Install Lisp
uses: 40ants/setup-lisp@v2
- uses: actions/checkout@v1
- name: Build the library
run: |
ros run -- --noinform \
--eval '(asdf:load-asd "/home/runner/work/ldapper/ldapper/ldapper.asd")' \
--eval '(ql:quickload :ldapper)' \
--non-interactive
- name: Build the binary
run: |
ros run -- --noinform \
--eval '(asdf:load-asd "/home/runner/work/ldapper/ldapper/ldapper.asd")' \
--eval '(asdf:make :ldapper)' \
--non-interactive
- name: Create release
id: create_release
uses: ncipollo/release-action@v1
continue-on-error: true
with:
allowUpdates: true
name: Release ${{ github.ref_name }}
artifacts: ldapper