mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-26 14:33:01 +00:00
Fix multithreading on CI
`set` is not the right command to set an envvar so "" got propagated to --parallel & in turn -j. "-j" (no job count) is _bad_ and prolly caused the OOM sitations.
This commit is contained in:
parent
4b91669e58
commit
4790b56e61
1 changed files with 1 additions and 5 deletions
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
|
@ -93,14 +93,10 @@ jobs:
|
|||
id: build-cores
|
||||
run: |
|
||||
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources
|
||||
set amount=2
|
||||
amount=2
|
||||
if [ '${{ runner.os }}' == 'macOS' ]; then
|
||||
amount=3
|
||||
fi
|
||||
# the Actions runner does not seem to be happy with two jobs at once on MinGW/Ubuntu
|
||||
if [ '${{ runner.os }}' == 'Linux' ]; then
|
||||
amount=1
|
||||
fi
|
||||
|
||||
echo "Amount of cores we can build with: ${amount}"
|
||||
|
||||
|
|
Loading…
Reference in a new issue