Reduced job number to run tests on MinGW

It seems too heavy as fails more often than before.
This commit is contained in:
Nobuyoshi Nakada 2020-06-10 00:00:39 +09:00
parent 62ce8f96cd
commit 9491bd89da
No known key found for this signature in database
GPG Key ID: 7CD2805BFA3770C6

View File

@ -75,7 +75,7 @@ jobs:
- name: download unicode, gems, etc - name: download unicode, gems, etc
working-directory: build working-directory: build
run: | run: |
$jobs = [int]$env:NUMBER_OF_PROCESSORS * 2 $jobs = [int](2 * $env:NUMBER_OF_PROCESSORS)
make -j $jobs update-unicode make -j $jobs update-unicode
make -j $jobs update-gems make -j $jobs update-gems
@ -83,7 +83,7 @@ jobs:
timeout-minutes: 40 timeout-minutes: 40
working-directory: build working-directory: build
run: | run: |
$jobs = [int]$env:NUMBER_OF_PROCESSORS * 2 $jobs = [int](2 * $env:NUMBER_OF_PROCESSORS)
make -j $jobs make -j $jobs
- name: make install - name: make install
@ -109,7 +109,7 @@ jobs:
$PSDefaultParameterValues['*:Encoding'] = 'utf8' $PSDefaultParameterValues['*:Encoding'] = 'utf8'
[Console]::OutputEncoding = [System.Text.Encoding]::GetEncoding("IBM437") [Console]::OutputEncoding = [System.Text.Encoding]::GetEncoding("IBM437")
[Console]::InputEncoding = [System.Text.Encoding]::GetEncoding("IBM437") [Console]::InputEncoding = [System.Text.Encoding]::GetEncoding("IBM437")
$jobs = [int]$env:NUMBER_OF_PROCESSORS * 2 $jobs = [int](1.5 * $env:NUMBER_OF_PROCESSORS)
make test-all TESTOPTS="-j $jobs --retry --job-status=normal --show-skip --timeout-scale=1.5" make test-all TESTOPTS="-j $jobs --retry --job-status=normal --show-skip --timeout-scale=1.5"
- name: test-spec - name: test-spec