зеркало из https://github.com/github/ruby.git
[MinGW] Clear prefix and move the directory to DESTDIR
Also the destination will be created at the installation.
This commit is contained in:
Родитель
ba0e3ea130
Коммит
ec032e86fa
|
@ -74,7 +74,6 @@ jobs:
|
||||||
}
|
}
|
||||||
- name: misc setup, autoreconf
|
- name: misc setup, autoreconf
|
||||||
run: |
|
run: |
|
||||||
mkdir install
|
|
||||||
mkdir temp
|
mkdir temp
|
||||||
cd src
|
cd src
|
||||||
sh -c "autoreconf -fi"
|
sh -c "autoreconf -fi"
|
||||||
|
@ -88,7 +87,7 @@ jobs:
|
||||||
[Console]::InputEncoding = [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=/install $config_args"
|
sh -c "../src/configure --disable-install-doc --prefix=/. $config_args"
|
||||||
# Write-Host "-------------------------------------- config.log"
|
# Write-Host "-------------------------------------- config.log"
|
||||||
# Get-Content ./config.log | foreach {Write-Output $_}
|
# Get-Content ./config.log | foreach {Write-Output $_}
|
||||||
|
|
||||||
|
@ -113,7 +112,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")
|
||||||
make DESTDIR=.. install-nodoc
|
make DESTDIR=../install install-nodoc
|
||||||
|
|
||||||
- name: test
|
- name: test
|
||||||
timeout-minutes: 5
|
timeout-minutes: 5
|
||||||
|
|
Загрузка…
Ссылка в новой задаче