aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/makefile.yml
blob: db67eaaf01ebce3bff081765f99baa11d2defa6d (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
43
44
45
46
47
48
name: CI

on:
  push:
    paths-ignore:
      - '**.md'
      - '**.org'
      - '**.texi'
  pull_request:
    paths-ignore:
      - '**.md'
      - '**.org'
      - '**.texi'

jobs:
  test:
    name: 'Compile and Test'
    runs-on: ubuntu-latest
    strategy:
      matrix:
        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'
          - 'release-snapshot'
          - 'snapshot'
    steps:
    - uses: actions/checkout@v3
    - uses: purcell/setup-emacs@master
      with:
        version: ${{ matrix.emacs-version }}
    - name: Compile
      run: |
        sed -i "s/ no-byte-compile: t;//" compat-macs.el compat-tests.el
        make compile
    - name: Run tests
      run: make test
    - name: Make info
      run: make compat.info