Skip to content

Commit

Permalink
ci, make: Support specifying external seq
Browse files Browse the repository at this point in the history
Transient 0.5.0 requires seq 2.24, which doesn't ship with Emacs until
29.1.
  • Loading branch information
kyleam committed Dec 10, 2023
1 parent c6b6d48 commit 75c2a2e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@ jobs:
uses: purcell/setup-emacs@master
with:
version: ${{ matrix.emacs_version }}
- name: Check out seq
if: matrix.emacs_version == '26.1' || matrix.emacs_version == '27.2' || matrix.emacs_version == '28.2'
# Note: This relies on Transient's Makefile looking in this spot
# (relative to Transient checkout) by default.
run: |
git clone --branch=externals/seq --depth=1 \
https://git.savannah.gnu.org/git/emacs/elpa.git seq
echo SEQ_DIR=$PWD/seq >>$GITHUB_ENV
- name: Check out compat
uses: actions/checkout@v2
with:
Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@

-include config.mk

SEQ_DIR ?= /dev/null
COMPAT_DIR ?= /dev/null
TRANSIENT_DIR ?= /dev/null

LOAD_PATH = -L $(COMPAT_DIR) -L $(TRANSIENT_DIR) -L .
LOAD_PATH = -L $(SEQ_DIR) -L $(COMPAT_DIR) -L $(TRANSIENT_DIR) -L .
EMACS = emacs
BATCH = $(EMACS) -Q --batch $(LOAD_PATH)

Expand Down

0 comments on commit 75c2a2e

Please sign in to comment.