[MinGW] Remove unnecessary encoding settings
This commit is contained in:
parent
8acb2a9b40
commit
dc4dd96b02
16
.github/workflows/mingw.yml
vendored
16
.github/workflows/mingw.yml
vendored
@ -81,10 +81,6 @@ jobs:
|
|||||||
|
|
||||||
- name: configure
|
- name: configure
|
||||||
run: |
|
run: |
|
||||||
# Actions uses UTF8, causes test failures, similar to normal OS setup
|
|
||||||
$PSDefaultParameterValues['*:Encoding'] = 'utf8'
|
|
||||||
[Console]::OutputEncoding = [System.Text.Encoding]::GetEncoding("IBM437")
|
|
||||||
[Console]::InputEncoding = [System.Text.Encoding]::GetEncoding("IBM437")
|
|
||||||
$config_args = "--build=$env:CHOST --host=$env:CHOST --target=$env:CHOST"
|
$config_args = "--build=$env:CHOST --host=$env:CHOST --target=$env:CHOST"
|
||||||
Write-Host $config_args
|
Write-Host $config_args
|
||||||
sh -c "../src/configure --disable-install-doc --prefix=/. $config_args"
|
sh -c "../src/configure --disable-install-doc --prefix=/. $config_args"
|
||||||
@ -108,10 +104,6 @@ jobs:
|
|||||||
|
|
||||||
- name: make install
|
- name: make install
|
||||||
run: |
|
run: |
|
||||||
# Actions uses UTF8, causes test failures, similar to normal OS setup
|
|
||||||
$PSDefaultParameterValues['*:Encoding'] = 'utf8'
|
|
||||||
[Console]::OutputEncoding = [System.Text.Encoding]::GetEncoding("IBM437")
|
|
||||||
[Console]::InputEncoding = [System.Text.Encoding]::GetEncoding("IBM437")
|
|
||||||
make DESTDIR=../install install-nodoc
|
make DESTDIR=../install install-nodoc
|
||||||
|
|
||||||
- name: test
|
- name: test
|
||||||
@ -123,9 +115,7 @@ jobs:
|
|||||||
timeout-minutes: 40
|
timeout-minutes: 40
|
||||||
run: |
|
run: |
|
||||||
# Actions uses UTF8, causes test failures, similar to normal OS setup
|
# Actions uses UTF8, causes test failures, similar to normal OS setup
|
||||||
$PSDefaultParameterValues['*:Encoding'] = 'utf8'
|
chcp.com 437
|
||||||
[Console]::OutputEncoding = [System.Text.Encoding]::GetEncoding("IBM437")
|
|
||||||
[Console]::InputEncoding = [System.Text.Encoding]::GetEncoding("IBM437")
|
|
||||||
if ($env:BUNDLER_VERSION) { Remove-Item env:\BUNDLER_VERSION }
|
if ($env:BUNDLER_VERSION) { Remove-Item env:\BUNDLER_VERSION }
|
||||||
make test-all TESTOPTS="-j $env:TEST_JOBS --retry --job-status=normal --show-skip --timeout-scale=1.5"
|
make test-all TESTOPTS="-j $env:TEST_JOBS --retry --job-status=normal --show-skip --timeout-scale=1.5"
|
||||||
|
|
||||||
@ -134,10 +124,6 @@ jobs:
|
|||||||
working-directory: src/spec/ruby
|
working-directory: src/spec/ruby
|
||||||
run: |
|
run: |
|
||||||
$env:Path = "$pwd/../../../install/bin;$env:Path"
|
$env:Path = "$pwd/../../../install/bin;$env:Path"
|
||||||
# Actions uses UTF8, causes test failures, similar to normal OS setup
|
|
||||||
$PSDefaultParameterValues['*:Encoding'] = 'utf8'
|
|
||||||
[Console]::OutputEncoding = [System.Text.Encoding]::GetEncoding("IBM437")
|
|
||||||
[Console]::InputEncoding = [System.Text.Encoding]::GetEncoding("IBM437")
|
|
||||||
ruby -v
|
ruby -v
|
||||||
ruby ../mspec/bin/mspec -I../../tool/lib -j --timeout 60
|
ruby ../mspec/bin/mspec -I../../tool/lib -j --timeout 60
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user