Skip to content

examples

examples #2

Workflow file for this run

name: examples
on: [workflow_dispatch]
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Install env
run: |
sudo apt-get -qq install sbcl
curl -o ~/quicklisp.lisp https://beta.quicklisp.org/quicklisp.lisp
sbcl --noinform --load ~/quicklisp.lisp --eval '(quicklisp-quickstart:install)' --non-interactive
sbcl --noinform \
--eval '(load "/home/runner/quicklisp/setup.lisp")' \
--eval '(ql-dist:install-dist "http://dist.shirakumo.org/shirakumo.txt" :prompt NIL)' \
--non-interactive
- name: Restore dependencies cache
uses: actions/cache@v3
with:
path: |
/home/runner/quicklisp
/home/runner/.cache/common-lisp
key: ${{ runner.os }}
restore-keys: ${{ runner.os }}
- uses: actions/checkout@v1
- name: Build the library
run: |
sbcl --noinform \
--eval '(load "/home/runner/quicklisp/setup.lisp")' \
--eval '(ql:quickload :trial-examples)' \
--non-interactive
- name: Build the binary
run: |
sbcl --noinform \
--eval '(load "/home/runner/quicklisp/setup.lisp")' \
--eval '(asdf:load-asd "/home/runner/work/wg-manager/wg-manager/wg-manager.asd")' \
--eval '(asdf:make :trial-examples)' \
--non-interactive
- name: Release
uses: softprops/action-gh-release@v1
with:
append_body: true
files: trial-examples/bin/