From 9ad6a69ecbeb932666238e133cfdbb12fb6fd521 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Lebrun?= Date: Tue, 18 Feb 2025 15:47:55 +0100 Subject: [PATCH] github: actions: build in parallel MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit According to GitHub's documentation, actions have access to 4 CPUs [0]. Exploit those. [0]: https://docs.github.com/en/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories Signed-off-by: Théo Lebrun --- .github/actions/build-material-action/build_materials.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/build-material-action/build_materials.sh b/.github/actions/build-material-action/build_materials.sh index 7609cd35f0..533f74c01a 100755 --- a/.github/actions/build-material-action/build_materials.sh +++ b/.github/actions/build-material-action/build_materials.sh @@ -2,4 +2,4 @@ set -ex git config --global --add safe.directory $GITHUB_WORKSPACE -make $* +make -j$(nproc) $*