aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/makefile.yml
blob: ef81ed5503f4d60cfb6cae54e9e279c13192324b (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
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, release-snapshot]
    steps:
    - uses: actions/checkout@v4
    - 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