Added GitHub Actions config.

This commit is contained in:
Alexander Artemenko 2021-01-26 13:22:52 +03:00
parent 9cd03ac25b
commit 7ac2ddcb5c

63
.github/workflows/install.yml vendored Normal file
View file

@ -0,0 +1,63 @@
name: 'Check Installation'
on:
# This will run tests on pushes
# to master branch or on pull merges:
push:
branches:
- 'main'
- 'master'
# This will run tests for every pull request:
pull_request:
# Rerun tests at 10 AM every Monday
# to check if they still work with latest dependencies.
schedule:
- cron: '0 10 * * 1'
jobs:
run_tests:
strategy:
fail-fast: false
matrix:
lisp:
- sbcl-bin
# - ccl-bin
os:
- ubuntu-latest
# - macos-latest
runs-on: ${{ matrix.os }}
env:
LISP: ${{ matrix.lisp }}
OS: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- name: Show env
run: |
env | sort -u
- name: Install Roswell
run: |
curl -L https://raw.githubusercontent.com/roswell/roswell/master/scripts/install-for-ci.sh | sh
echo $HOME/.roswell/bin >> $GITHUB_PATH
- name: Upgrade ASDF to the latest version
run: |
ros install asdf
- name: Install Qlot
run: |
ros install qlot
echo .qlot/bin >> $GITHUB_PATH
- name: Install Dependencies
run: |
rm -fr qlfile
echo dist ultralisp http://dist.ultralisp.org/ >> qlfile
qlot install
- name: Install CL-INFO
run: |
qlot exec ros install 40ants/cl-info
- name: Run CL-INFO
run: |
qlot exec cl-info