Skip to content

Commit 97258ef

Browse files
committed
Add multi-version byte-compile job and treat warnings as errors
Add byte-compile matrix (27.2, 29.4, snapshot) back to ci.yml since melpazoid runs in Docker with a fixed Emacs version. Set WARN_IS_ERROR=true in the melpazoid workflow.
1 parent c47662c commit 97258ef

2 files changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,27 @@ on:
66
pull_request:
77

88
jobs:
9+
byte-compile:
10+
runs-on: ubuntu-latest
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
emacs_version:
15+
- '27.2'
16+
- '29.4'
17+
- 'snapshot'
18+
steps:
19+
- uses: actions/checkout@v4
20+
- uses: purcell/setup-emacs@master
21+
with:
22+
version: ${{ matrix.emacs_version }}
23+
24+
- name: Byte-compile
25+
run: |
26+
emacs --batch -Q -L . \
27+
-f batch-byte-compile \
28+
ghostel.el ghostel-debug.el
29+
930
test:
1031
runs-on: ubuntu-latest
1132
strategy:

.github/workflows/melpazoid.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,5 @@ jobs:
2121
LOCAL_REPO: ${{ github.workspace }}
2222
RECIPE: (ghostel :fetcher github :repo "dakra/ghostel")
2323
EXIST_OK: false
24+
WARN_IS_ERROR: true
2425
run: make -C ~/melpazoid

0 commit comments

Comments
 (0)