Merge pull request #492 from OPNA2608/fix/ci_multithreading

Fix multithreading on CI
This commit is contained in:
tildearrow 2022-05-26 04:55:36 -05:00 committed by GitHub
commit c52db81d00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 5 deletions

View File

@ -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}"