summaryrefslogtreecommitdiff
path: root/.github/workflows/test.yml
blob: e41f9678516c647a8fc99f0f789b2663dc11e740 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: GitHub actions CI

on: [push]

jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
      matrix:
        rust_version: [stable]
        emacs_version:
          - 25.3
          - 26.3
          - 27.2
          - 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: |
        make test