branch: elpa/emacsql
commit d8bd5577d4ba19a43ea664b31f9a90ff9a6f7035
Author: Jonas Bernoulli <jo...@bernoul.li>
Commit: Jonas Bernoulli <jo...@bernoul.li>

    ci: Add compile workflow
---
 .github/workflows/compile.yml | 6 ++++++
 Makefile                      | 6 ++++++
 2 files changed, 12 insertions(+)

diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml
new file mode 100644
index 0000000000..2c1a9879ba
--- /dev/null
+++ b/.github/workflows/compile.yml
@@ -0,0 +1,6 @@
+name: Compile
+on: [push, pull_request]
+jobs:
+  compile:
+    name: Compile
+    uses: emacscollective/workflows/.github/workflows/compile.yml@main
diff --git a/Makefile b/Makefile
index 26a3666b63..51f882b06f 100644
--- a/Makefile
+++ b/Makefile
@@ -21,7 +21,13 @@ DEPS  = pg
 DEPS += sqlite3
 
 EMACS      ?= emacs
+
+ifeq ($(CI), true)
+# Workaround for bug#58252 on Emacs 28.x.
+override EMACS_ARGS += --eval "(setq byte-compile-docstring-max-column 120)"
+else
 EMACS_ARGS ?=
+endif
 
 LOAD_PATH  ?= $(addprefix -L ../,$(DEPS))
 LOAD_PATH  += -L .

Reply via email to