2016-03-04 05:11:08 +03:00
|
|
|
version: 1.0.{build}
|
|
|
|
|
2016-03-23 17:07:59 +03:00
|
|
|
environment:
|
|
|
|
PATH: 'C:\msys64\mingw64\bin;C:\msys64\usr\bin\;%PATH%'
|
|
|
|
MSYSTEM: 'MSYS'
|
|
|
|
MSYS: 'winsymlinks=lnk'
|
|
|
|
|
2016-03-04 05:11:08 +03:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
|
|
|
|
platform:
|
|
|
|
- x64
|
|
|
|
|
|
|
|
cache:
|
2016-04-12 06:06:49 +03:00
|
|
|
- .servo -> rust-nightly-date, cargo-nightly-build
|
|
|
|
- .cargo -> rust-nightly-date, cargo-nightly-build
|
2016-03-04 05:11:08 +03:00
|
|
|
|
|
|
|
install:
|
|
|
|
- bash -lc "echo $MSYSTEM; pacman --needed --noconfirm -Sy pacman-mirrors"
|
|
|
|
- bash -lc "pacman --noconfirm -Sy"
|
2016-07-30 01:46:42 +03:00
|
|
|
- bash -lc "pacman -Sy --needed --noconfirm git mingw-w64-x86_64-toolchain mingw-w64-x86_64-freetype mingw-w64-x86_64-icu mingw-w64-x86_64-nspr mingw-w64-x86_64-ca-certificates mingw-w64-x86_64-expat mingw-w64-x86_64-cmake tar diffutils patch patchutils make python2-setuptools mingw-w64-x86_64-ffmpeg"
|
2016-03-04 05:11:08 +03:00
|
|
|
- bash -lc "easy_install-2.7 pip virtualenv"
|
|
|
|
- bash -lc "mv /mingw64/bin/python2.exe /mingw64/bin/python2-mingw64.exe"
|
|
|
|
- bash -lc "mv /mingw64/bin/python2.7.exe /mingw64/bin/python2.7-mingw64.exe"
|
2016-07-24 17:18:37 +03:00
|
|
|
# Downgrade GCC to 5.4.0-1 - https://github.com/servo/servo/issues/12512
|
|
|
|
- set GCC_URL=http://repo.msys2.org/mingw/x86_64/mingw-w64-x86_64-gcc
|
|
|
|
- set GCC_EXT=5.4.0-1-any.pkg.tar.xz
|
|
|
|
- bash -lc "pacman -U --noconfirm $GCC_URL-$GCC_EXT $GCC_URL-ada-$GCC_EXT $GCC_URL-fortran-$GCC_EXT $GCC_URL-libgfortran-$GCC_EXT $GCC_URL-libs-$GCC_EXT $GCC_URL-objc-$GCC_EXT"
|
2016-03-04 05:11:08 +03:00
|
|
|
|
2016-03-30 17:28:30 +03:00
|
|
|
# Uncomment these lines to expose RDP access information to the build machine in the build log.
|
|
|
|
#init:
|
|
|
|
# - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
|
|
|
|
#
|
|
|
|
#on_finish:
|
|
|
|
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
|
|
|
|
|
2016-03-04 05:11:08 +03:00
|
|
|
build_script:
|
|
|
|
- cmd: >-
|
|
|
|
set MSYSTEM=MINGW64
|
|
|
|
|
2016-03-30 17:28:30 +03:00
|
|
|
bash -lc "cd $APPVEYOR_BUILD_FOLDER; ./mach build -d -v && ./mach test-unit"
|
2016-03-04 05:11:08 +03:00
|
|
|
|
2016-03-23 17:07:59 +03:00
|
|
|
test: off
|