| 1 | name: CI |
| 2 | |
| 3 | on: [pull_request, push] |
| 4 | |
| 5 | jobs: |
| 6 | build: |
| 7 | runs-on: ubuntu-latest |
| 8 | strategy: |
| 9 | fail-fast: false |
| 10 | matrix: |
| 11 | emacs-version: |
| 12 | - 24.3 |
| 13 | - 24.4 |
| 14 | - 24.5 |
| 15 | - 25.1 |
| 16 | - 25.2 |
| 17 | - 25.3 |
| 18 | - 26.1 |
| 19 | - 26.2 |
| 20 | - 26.3 |
| 21 | - 27.1 |
| 22 | - snapshot |
| 23 | steps: |
| 24 | - name: Checkout |
| 25 | uses: actions/checkout@v2 |
| 26 | |
| 27 | - name: Setup Emacs |
| 28 | uses: purcell/setup-emacs@master |
| 29 | with: |
| 30 | version: ${{ matrix.emacs-version }} |
| 31 | |
| 32 | - name: Download if Emacs version is 24.3 |
| 33 | run: make downloads |
| 34 | if: ${{ matrix.emacs-version == '24.3' }} |
| 35 | |
| 36 | - name: Run tests |
| 37 | run: make elc test |