From 42dd901916b70d4dd2b35e312d0c14ef3e62152c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Przemys=C5=82aw=20Kryger?= Date: Thu, 14 Nov 2024 15:10:43 +0000 Subject: [PATCH] [try] smaller batches when batch-byte-compile --- .ci/batch-byte-compile.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.ci/batch-byte-compile.sh b/.ci/batch-byte-compile.sh index fadd3426..c4e8420f 100755 --- a/.ci/batch-byte-compile.sh +++ b/.ci/batch-byte-compile.sh @@ -20,7 +20,14 @@ trap cleanup ERR INT TERM # directories. Directory extensions is skipped because this is not Exordium # code. Split them into smaller chunks, because Emacs on GitHub worker tends # to segmentation fault when there's too much to compile in one go. -for pattern in "modules/*.el" "init.el" "themes/*.el" ".ci/*.el"; do +for pattern in \ + "modules/init-[a-f]*.el" \ + "modules/init-[g-l]*.el" \ + "modules/init-[m-r]*.el" \ + "modules/init-[s-z]*.el" \ + "init.el" \ + "themes/*.el" \ + ".ci/*.el"; do echo "===Byte compiling: ${pattern}===" # Use find to find file names such that globs are expanded while prevent