mirror of
https://github.com/roswell/roswell.git
synced 2026-09-10 07:16:17 -04:00
edit .appveyor.yml
This commit is contained in:
parent
a1a4850702
commit
e0394320ca
|
|
@ -17,7 +17,7 @@ install:
|
|||
- ps: If (($env:METHOD -eq "cross") -and (Test-Path ("msys" + $env:MSYS2_BITS))){Write-Host "Using cached msys2"}
|
||||
- ps: If (($env:METHOD -eq "cross") -and !(Test-Path ("msys" + $env:MSYS2_BITS))){Invoke-WebRequest -UserAgent wget -Uri ("http://kent.dl.sourceforge.net/project/msys2/Base/" + $env:MSYS2_ARCH + "/msys2-base-" + $env:MSYS2_ARCH + "-" + $env:MSYS2_BASEVER + ".tar.xz") -OutFile "msys2.tar.xz"}
|
||||
- ps: If (($env:METHOD -eq "cross") -and !(Test-Path ("msys" + $env:MSYS2_BITS))){&"7z" x msys2.tar.xz}
|
||||
- ps: If (($env:METHOD -eq "cross") -and !(Test-Path ("msys" + $env:MSYS2_BITS))){&"7z" x msys2.tar > $nul;&("msys" + $env:MSYS2_BITS + "\usr\bin\bash") -lc "";&("msys" + $env:MSYS2_BITS + "\usr\bin\bash") -lc ("for i in {1..3}; do pacman --noconfirm -Suy autoconf automake mingw-w64-"+ $env:MSYS2_ARCH + "-gcc make zlib-devel python3 && break || sleep 15; done");&("msys" + $env:MSYS2_BITS + "\usr\bin\bash") -lc "pacman --noconfirm -R -s bash-completion tftp-hpa inetutils util-linux tzcode time dash flex pax-git file bsdcpio bsdtar lndir";&("msys" + $env:MSYS2_BITS + "\usr\bin\bash") -lc "yes|pacman --noconfirm -Sc";&("msys" + $env:MSYS2_BITS + "\usr\bin\bash") -lc "curl -kL https://raw.github.com/pypa/pip/master/contrib/get-pip.py | python && pip install sphinx";&("msys" + $env:MSYS2_BITS + "\autorebase.bat");}
|
||||
- ps: If (($env:METHOD -eq "cross") -and !(Test-Path ("msys" + $env:MSYS2_BITS))){&"7z" x msys2.tar > $nul;&("msys" + $env:MSYS2_BITS + "\usr\bin\bash") -lc "";&("msys" + $env:MSYS2_BITS + "\usr\bin\bash") -lc ("for i in {1..3}; do pacman --noconfirm -Suy autoconf automake mingw-w64-"+ $env:MSYS2_ARCH + "-gcc make zlib-devel python3 && break || sleep 15; done");&("msys" + $env:MSYS2_BITS + "\usr\bin\bash") -lc "pacman --noconfirm -R -s bash-completion tftp-hpa inetutils util-linux tzcode time dash flex pax-git file bsdcpio bsdtar lndir";&("msys" + $env:MSYS2_BITS + "\usr\bin\bash") -lc "yes|pacman --noconfirm -Sc";&("msys" + $env:MSYS2_BITS + "\autorebase.bat");}
|
||||
|
||||
build_script:
|
||||
- if "%METHOD%"=="cross" msys%MSYS2_BITS%\usr\bin\bash -lc "mkdir /tmp;cd $APPVEYOR_BUILD_FOLDER; exec 0</dev/null; ./bootstrap; ./configure; make"
|
||||
|
|
|
|||
Loading…
Reference in a new issue