ruby-changes:61648
From: Nobuyoshi <ko1@a...>
Date: Wed, 10 Jun 2020 06:58:09 +0900 (JST)
Subject: [ruby-changes:61648] 9491bd89da (master): Reduced job number to run tests on MinGW
https://git.ruby-lang.org/ruby.git/commit/?id=9491bd89da From 9491bd89dace4fa26f1e5333d0ebbca14749eb3e Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Wed, 10 Jun 2020 00:00:39 +0900 Subject: Reduced job number to run tests on MinGW It seems too heavy as fails more often than before. diff --git a/.github/workflows/mingw.yml b/.github/workflows/mingw.yml index 2a01215..fa3410e 100644 --- a/.github/workflows/mingw.yml +++ b/.github/workflows/mingw.yml @@ -75,7 +75,7 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/mingw.yml#L75 - name: download unicode, gems, etc working-directory: build run: | - $jobs = [int]$env:NUMBER_OF_PROCESSORS * 2 + $jobs = [int](2 * $env:NUMBER_OF_PROCESSORS) make -j $jobs update-unicode make -j $jobs update-gems @@ -83,7 +83,7 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/mingw.yml#L83 timeout-minutes: 40 working-directory: build run: | - $jobs = [int]$env:NUMBER_OF_PROCESSORS * 2 + $jobs = [int](2 * $env:NUMBER_OF_PROCESSORS) make -j $jobs - name: make install @@ -109,7 +109,7 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/mingw.yml#L109 $PSDefaultParameterValues['*:Encoding'] = 'utf8' [Console]::OutputEncoding = [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" - name: test-spec -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/