aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2023-12-10 15:08:15 -0500
committerKyle Meyer <kyle@kyleam.com>2023-12-10 15:08:32 -0500
commit75c2a2ee335530d830f54b386fb5a139cb97499a (patch)
tree36ef4a88173aa9690f0a86f19802de85a4d37824
parentc6b6d485bc77d2dc17982b16dcb54f1c8b2025e6 (diff)
downloadsnakemake-mode-75c2a2ee335530d830f54b386fb5a139cb97499a.tar.gz
ci, make: Support specifying external seq
Transient 0.5.0 requires seq 2.24, which doesn't ship with Emacs until 29.1.
-rw-r--r--.github/workflows/test.yml8
-rw-r--r--Makefile3
2 files changed, 10 insertions, 1 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index ea27c1f..3290f39 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -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:
diff --git a/Makefile b/Makefile
index 3f8ed24..35b0cdd 100644
--- a/Makefile
+++ b/Makefile
@@ -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)