summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbin Simon <abinsimon10@gmail.com>2020-12-11 10:00:30 +0530
committerPierre Neidhardt <mail@ambrevar.xyz>2020-12-17 18:22:00 +0100
commita3482b5657e89cac925dbafaf28f63b637550abe (patch)
treeb9421ccb2105cfc7e0d74c866a792194e7f39cc6
parentc9ccc3065f46c1654f1cc0d41cd2f5cff184d273 (diff)
Add github action for CI
-rw-r--r--.github/workflows/build.yaml29
1 files changed, 29 insertions, 0 deletions
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
new file mode 100644
index 0000000..6999e33
--- /dev/null
+++ b/.github/workflows/build.yaml
@@ -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