aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/makefile.yml
blob: f6eeb1b974df146df14cf1b08ba5f04bbc7cf899 (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
33
34
35
36
37
38
39
40
41
42
name: CI

on:
  push:
    paths-ignore:
      - '**.md'
      - '**.org'
  pull_request:
    paths-ignore:
      - '**.md'
      - '**.org'
  schedule:
    - cron: "0 7 * * 0"

jobs:
  test:
    name: 'Compile and Test'
    runs-on: ubuntu-latest
    strategy:
      matrix:
        # See https://github.com/purcell/setup-emacs/blob/master/.github/workflows/test.yml
        emacs-version: [24.4, 24.5, 25.1, 25.2, 25.3, 26.1, 26.2, 26.3, 27.1, 27.2, 28.1, 28.2, 29.1, 29.2, 29.3, 29.4, 30.1, snapshot] # release-snapshot
    steps:
      - uses: actions/checkout@v4
        with:
          persist-credentials: false
      - uses: purcell/setup-emacs@master
        with:
          version: ${{ matrix.emacs-version }}
      - name: Provide seq.el on Emacs 24
        if: ${{ startsWith(matrix.emacs-version, '24.') }}
        run: mv .github/workflows/seq-24.el seq.el
      - name: Basic checks
        run: make check
      - name: Run interpreted tests
        run: make test
      - name: Byte compile all files
        run: make force-compile
      - name: Run compiled tests
        run: make test
      - name: Make info manual
        run: make compat.info