-
Notifications
You must be signed in to change notification settings - Fork 33
44 lines (37 loc) · 968 Bytes
/
ci.yaml
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
name: CI
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches: [ "main" ]
pull_request:
branches: [ "*" ]
jobs:
test:
runs-on: ubuntu-latest
environment: Continuous Integration
strategy:
matrix:
emacs_version:
# Add more lines like this if you want to test on different Emacs versions.
- 28.1
- 28.2
- 29.1
- 29.2
steps:
- name: Set up Emacs
uses: jcs090218/setup-emacs@master
with:
version: ${{matrix.emacs_version}}
- name: Install Eldev
uses: emacs-eldev/setup-eldev@v1
- name: Check out the source code
uses: actions/checkout@v4
- name: Byte-compile the project
run: |
eldev -dtT compile --warnings-as-errors
- name: Lint the project
run: |
eldev -p -dtT lint
- name: Test the project
run: |
eldev -p -dtT test