branch: scratch/editorconfig-cc
commit 39eca13316180e5063a5ebaa3e6630d34006a811
Author: 10sr <[email protected]>
Commit: Stefan Monnier <[email protected]>
Add Github Actions build.yaml
---
.github/workflows/build.yaml | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
new file mode 100644
index 0000000000..85d85b622d
--- /dev/null
+++ b/.github/workflows/build.yaml
@@ -0,0 +1,40 @@
+---
+name: build
+
+on:
+ push:
+ branches:
+ - master
+ pull_request:
+ types: [opened, synchronize]
+ branches:
+ - 'master'
+ release:
+ types: [published]
+
+jobs:
+ test:
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ emacs_version:
+ - "24.5"
+ - "25.3"
+ - "26.3"
+ - "27.1"
+ experimental: [false]
+ include:
+ - emacs_version: snapshot
+ experimental: true
+ continue-on-error: ${{ matrix.experimental }}
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v1
+ with:
+ submodules: recursive
+ - name: Setup Emacs
+ uses: purcell/setup-emacs@master
+ with:
+ version: ${{ matrix.emacs_version }}
+ - name: Run tests
+ run: make test