-
Notifications
You must be signed in to change notification settings - Fork 456
53 lines (46 loc) · 1.01 KB
/
test.yml
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
49
50
51
52
53
name: CI
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
emacs_version:
- 24.3
- 24.5
- 25.3
- 26.3
- 27.2
- 28.2
- snapshot
env:
EMACS_VERSION: ${{ matrix.emacs_version }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: purcell/setup-emacs@master
with:
version: ${{ matrix.emacs_version }}
- name: Print GitHub event
run: cat "$GITHUB_EVENT_PATH"
- name: Print Emacs version and environment variables
run: |
env
emacs --version
- name: Compilation
run: |
source test/github-actions.sh
byte-compile -Werror *.el methods/*.el
- name: Test
run: |
source test/github-actions.sh
ert-tests
check-recipes -Wno-features -Wno-github -Wno-autoloads recipes/
check-whitespace
check-filenames