From 5e05d8d3d0107b2480341cb02754dc82bc982dd8 Mon Sep 17 00:00:00 2001 From: Benoit Pierre Date: Fri, 17 Oct 2025 00:38:13 +0200 Subject: [PATCH] ci/circle: speed up lint phase (#14472) Honor `PARALLEL_JOBS` so the number of luacheck jobs is capped to 3 (we don't want to end-up using 36 jobs). --- .ci/check.sh | 2 +- .circleci/config.yml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.ci/check.sh b/.ci/check.sh index b81f90b5c..4895a02db 100755 --- a/.ci/check.sh +++ b/.ci/check.sh @@ -39,6 +39,6 @@ if [ "${untagged_todo}" ]; then fi echo -e "\n${ANSI_GREEN}Luacheck results${ANSI_RESET}" -luacheck -q {reader,setupkoenv,datastorage}.lua frontend plugins spec || exit_code=1 +luacheck ${PARALLEL_JOBS:+-j "${PARALLEL_JOBS}"} -q {reader,setupkoenv,datastorage}.lua frontend plugins spec || exit_code=1 exit ${exit_code} diff --git a/.circleci/config.yml b/.circleci/config.yml index 0587f5d7f..5c71a84b2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -39,7 +39,8 @@ jobs: CLICOLOR_FORCE: "1" EMULATE_READER: "1" KODEBUG: "" - MAKEFLAGS: "PARALLEL_JOBS=3 OUTPUT_DIR=build INSTALL_DIR=install" + MAKEFLAGS: "OUTPUT_DIR=build INSTALL_DIR=install" + PARALLEL_JOBS: "3" steps: # Checkout / fetch. {{{ - checkout