mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 14:45:29 +00:00
c0899a0bc6
Closes #9953 r? @larsbergstrom Source-Repo: https://github.com/servo/servo Source-Revision: e2e495e58e85aaab620d7a15123810d2fa748c2c
41 lines
1.4 KiB
YAML
41 lines
1.4 KiB
YAML
version: 1.0.{build}
|
|
|
|
environment:
|
|
PATH: 'C:\msys64\mingw64\bin;C:\msys64\usr\bin\;%PATH%'
|
|
MSYSTEM: 'MSYS'
|
|
MSYS: 'winsymlinks=lnk'
|
|
|
|
branches:
|
|
only:
|
|
- master
|
|
|
|
platform:
|
|
- x64
|
|
|
|
cache:
|
|
- .servo -> rust-nightly-date, cargo-nightly-build
|
|
- .cargo -> rust-nightly-date, cargo-nightly-build
|
|
|
|
install:
|
|
- bash -lc "echo $MSYSTEM; pacman --needed --noconfirm -Sy pacman-mirrors"
|
|
- bash -lc "pacman --noconfirm -Sy"
|
|
- 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"
|
|
- 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"
|
|
|
|
# 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'))
|
|
|
|
build_script:
|
|
- cmd: >-
|
|
set MSYSTEM=MINGW64
|
|
|
|
bash -lc "cd $APPVEYOR_BUILD_FOLDER; ./mach build -d -v && ./mach test-unit"
|
|
|
|
test: off
|