[MinGW] Remove unnecessary encoding settings

This commit is contained in:
Nobuyoshi Nakada 2021-11-07 15:43:11 +09:00
Родитель 8acb2a9b40
Коммит dc4dd96b02
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 7CD2805BFA3770C6
1 изменённых файлов: 1 добавлений и 15 удалений

16
.github/workflows/mingw.yml поставляемый
Просмотреть файл

@ -81,10 +81,6 @@ jobs:
- name: configure
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"
Write-Host $config_args
sh -c "../src/configure --disable-install-doc --prefix=/. $config_args"
@ -108,10 +104,6 @@ jobs:
- name: make install
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
- name: test
@ -123,9 +115,7 @@ jobs:
timeout-minutes: 40
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")
chcp.com 437
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"
@ -134,10 +124,6 @@ jobs:
working-directory: src/spec/ruby
run: |
$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 ../mspec/bin/mspec -I../../tool/lib -j --timeout 60