Skip to content

Commit a8288ef

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

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ 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+
run: |
22+
git clone --branch=externals/seq --depth=1 \
23+
https://git.savannah.gnu.org/git/emacs/elpa.git seq
24+
echo SEQ_DIR=$PWD/seq >>$GITHUB_ENV
1925
- name: Check out compat
2026
uses: actions/checkout@v2
2127
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)