Skip to content

Commit 75c2a2e

Browse files
committed
ci, make: Support specifying external seq
Transient 0.5.0 requires seq 2.24, which doesn't ship with Emacs until 29.1.
1 parent c6b6d48 commit 75c2a2e

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,14 @@ jobs:
1616
uses: purcell/setup-emacs@master
1717
with:
1818
version: ${{ matrix.emacs_version }}
19+
- name: Check out seq
20+
if: matrix.emacs_version == '26.1' || matrix.emacs_version == '27.2' || matrix.emacs_version == '28.2'
21+
# Note: This relies on Transient's Makefile looking in this spot
22+
# (relative to Transient checkout) by default.
23+
run: |
24+
git clone --branch=externals/seq --depth=1 \
25+
https://git.savannah.gnu.org/git/emacs/elpa.git seq
26+
echo SEQ_DIR=$PWD/seq >>$GITHUB_ENV
1927
- name: Check out compat
2028
uses: actions/checkout@v2
2129
with:

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11

22
-include config.mk
33

4+
SEQ_DIR ?= /dev/null
45
COMPAT_DIR ?= /dev/null
56
TRANSIENT_DIR ?= /dev/null
67

7-
LOAD_PATH = -L $(COMPAT_DIR) -L $(TRANSIENT_DIR) -L .
8+
LOAD_PATH = -L $(SEQ_DIR) -L $(COMPAT_DIR) -L $(TRANSIENT_DIR) -L .
89
EMACS = emacs
910
BATCH = $(EMACS) -Q --batch $(LOAD_PATH)
1011

0 commit comments

Comments
 (0)