-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (34 loc) · 970 Bytes
/
ci.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
name: CI
on:
pull_request:
push:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- emacs: 27.1
ts: false
lint: true
- emacs: snapshot
ts: true
lint: true
steps:
- uses: purcell/setup-emacs@master
with:
version: ${{ matrix.emacs }}
- uses: actions/checkout@v4
- name: Install package-lint
run: emacs -Q -l .github/workflows/init.el -batch
--eval "(package-install 'package-lint)"
- name: Lint evangelion-theme
run: emacs -Q -l .github/workflows/init.el -batch
-f package-lint-batch-and-exit
evangelion-theme.el
- name: Byte-compile
run: emacs -Q -l .github/workflows/init.el -batch
-L .
--eval "(setq byte-compile-error-on-warn t)"
-f batch-byte-compile
*.el