aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorErik Martin-Dorel2020-04-16 17:07:08 +0200
committerErik Martin-Dorel2020-04-16 17:21:48 +0200
commitb04949d2c36a1e19c9eb748dd9c342523edf08e5 (patch)
treee9ebf3070622211a693b87d15ce2041560adf247 /.github/workflows
parente8681a08bbbe19e440ee7c013814229e51195b3e (diff)
feat: Add GitHub-action workflow
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/test.yml40
1 files changed, 40 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644
index 00000000..0cc6027a
--- /dev/null
+++ b/.github/workflows/test.yml
@@ -0,0 +1,40 @@
+name: CI
+
+on:
+ push:
+ branches:
+ - '**'
+ pull_request:
+ branches:
+ - master
+ - hybrid
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+
+ strategy:
+ matrix:
+ emacs_version:
+ - 24.3
+ - 24.4
+ - 24.5
+ - 25.1
+ - 25.2
+ - 25.3
+ - 26.1
+ - 26.2
+ - 26.3
+ # at most 20 concurrent jobs per free account
+ # cf. https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#usage-limit
+ max-parallel: 5
+
+ steps:
+ - uses: actions/checkout@v2
+
+ - uses: purcell/setup-emacs@master
+ with:
+ version: ${{ matrix.emacs_version }}
+
+ - run: emacs --version
+ - run: make