Add github action for CI
This commit is contained in:
parent
c9ccc3065f
commit
a3482b5657
|
@ -0,0 +1,29 @@
|
||||||
|
name: build
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
check:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
emacs_version:
|
||||||
|
- 26.3
|
||||||
|
- 27.1
|
||||||
|
- snapshot
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: purcell/setup-emacs@master
|
||||||
|
with:
|
||||||
|
version: ${{ matrix.emacs_version }}
|
||||||
|
- run: curl -fsSL https://raw.githubusercontent.com/cask/cask/master/go | python
|
||||||
|
- run: echo "/home/runner/.cask/bin" >> $GITHUB_PATH
|
||||||
|
- run: cask install
|
||||||
|
- run: make compile
|
||||||
|
- run: make lint
|
||||||
|
- run: make test
|
Loading…
Reference in New Issue