Add github action for CI

This commit is contained in:
Abin Simon 2020-12-11 10:00:30 +05:30 committed by Pierre Neidhardt
parent c9ccc3065f
commit a3482b5657
1 changed files with 29 additions and 0 deletions

29
.github/workflows/build.yaml vendored Normal file
View File

@ -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