summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorNathan Moreau <nathan.moreau@m4x.org>2019-10-27 02:40:32 +0100
committerGitHub <noreply@github.com>2019-10-27 02:40:32 +0100
commit484d6754c51424e3b49461d54cfeac8fc05993b5 (patch)
tree17bbd45a62f847c4eadd18353ea6943167698e3a /.github
parent5ad9b599c6beea43d6262c3ad81d95512a7e53b8 (diff)
downloadrust-mode-484d6754c51424e3b49461d54cfeac8fc05993b5.tar.gz
Adding GitHub actions.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/test.yml33
1 files changed, 33 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644
index 0000000..5e703b9
--- /dev/null
+++ b/.github/workflows/test.yml
@@ -0,0 +1,33 @@
+name: GitHub actions CI
+
+on: [push]
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ rust_version: [stable]
+ emacs_version:
+ - 24.5
+ - 25.1
+ - 25.2
+ - 25.3
+ - 26.1
+ - 26.2
+ - 26.3
+ - snapshot
+ env:
+ EMACS_VERSION: ${{ matrix.emacs_version }}
+ steps:
+ - uses: hecrj/setup-rust-action@v1
+ with:
+ rust-version: ${{ matrix.rust_version }}
+ - uses: purcell/setup-emacs@master
+ with:
+ version: ${{ matrix.emacs_version }}
+
+ - uses: actions/checkout@v1
+ - name: Run tests
+ run: './run_rust_emacs_tests.sh'