Skip to content

Commit

Permalink
Fix for GitHub actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
ggarra13 committed May 11, 2024
1 parent 894b76c commit c2c6bfd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion etc/build_cores.sh
Expand Up @@ -16,7 +16,8 @@ fi

#
# Ninja uses CPU_CORES + 2, but that creates network issues on my network.
# GitHub Actions seem fine thou.
#
if [[ ! -z "$GITHUB_ACTIONS" ]]; then
if [ "$GITHUB_ACTIONS" != "true" ]; then
export CPU_CORES=$((CPU_CORES - 2))
fi

0 comments on commit c2c6bfd

Please sign in to comment.