Skip to content

Commit

Permalink
[try] smaller batches when batch-byte-compile
Browse files Browse the repository at this point in the history
  • Loading branch information
pkryger committed Nov 15, 2024
1 parent e018190 commit 42dd901
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .ci/batch-byte-compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 42dd901

Please sign in to comment.