mirror of
https://github.com/libevent/libevent.git
synced 2025-01-31 09:12:55 +08:00
appveyor: ignore failure of mingw-get
Since according to doc [1], appveyour will fail the build on every powershell's exception: "PowerShell script is considered successful if it finishes without exception." [1]: https://www.appveyor.com/docs/build-configuration#powershell
This commit is contained in:
parent
ac90133c16
commit
1810857425
@ -41,14 +41,14 @@ init:
|
|||||||
install:
|
install:
|
||||||
- appveyor DownloadFile https://strcpy.net/packages/Win32OpenSSL-1_0_2a.exe
|
- appveyor DownloadFile https://strcpy.net/packages/Win32OpenSSL-1_0_2a.exe
|
||||||
- Win32OpenSSL-1_0_2a.exe /silent /verysilent /sp- /suppressmsgboxes
|
- Win32OpenSSL-1_0_2a.exe /silent /verysilent /sp- /suppressmsgboxes
|
||||||
|
- C:\MinGW\bin\mingw-get install autotools autoconf automake
|
||||||
build_script:
|
build_script:
|
||||||
- ps: |
|
- ps: |
|
||||||
if ($env:EVENT_BUILD_METHOD -eq 'autotools') {
|
if ($env:EVENT_BUILD_METHOD -eq 'autotools') {
|
||||||
$env:PATH="$env:CYG_ROOT\bin;C:\MinGW\bin;$($env:PATH)"
|
$env:PATH="$env:CYG_ROOT\bin;C:\MinGW\bin;$($env:PATH)"
|
||||||
mingw-get install autotools autoconf automake
|
|
||||||
bash -lc "echo 'C:\MinGW /mingw' > /etc/fstab"
|
bash -lc "echo 'C:\MinGW /mingw' > /etc/fstab"
|
||||||
$env:APPVEYOR_BUILD_FOLDER = $env:APPVEYOR_BUILD_FOLDER -replace "\\", "/"
|
$env:APPVEYOR_BUILD_FOLDER = $env:APPVEYOR_BUILD_FOLDER -replace "\\", "/"
|
||||||
bash -lc "exec 0</dev/null; cd $env:APPVEYOR_BUILD_FOLDER; bash -x ./autogen.sh && ./configure $env:EVENT_CONFIGURE_OPTIONS && make && make verify"
|
bash -lc "exec 0</dev/null; exec 2>&1; cd $env:APPVEYOR_BUILD_FOLDER; bash -x ./autogen.sh && ./configure $env:EVENT_CONFIGURE_OPTIONS && make && make verify"
|
||||||
} else {
|
} else {
|
||||||
md build
|
md build
|
||||||
cd build
|
cd build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user