Skip to content
This repository was archived by the owner on Nov 12, 2022. It is now read-only.

Commit 6b2651a

Browse files
author
bors-servo
authored
Auto merge of #281 - servo:windows-ci, r=Manishearth
Enable AppVeyor. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-mozjs/281) <!-- Reviewable:end -->
2 parents fd5d70d + 71cfb4a commit 6b2651a

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

appveyor.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
version: 1.0.{build}
2+
3+
environment:
4+
PATH: 'C:\msys64\mingw64\bin;C:\msys64\usr\bin\;%PATH%'
5+
MSYSTEM: 'MSYS'
6+
MSYS: 'winsymlinks=lnk'
7+
TARGET: 'nightly-x86_64-pc-windows-gnu'
8+
9+
platform:
10+
- x64
11+
12+
install:
13+
- bash -lc "echo $MSYSTEM; pacman --needed --noconfirm -Sy pacman-mirrors"
14+
- bash -lc "pacman --noconfirm -Sy"
15+
- bash -lc "pacman -Sy --needed --noconfirm git mingw-w64-x86_64-toolchain tar make python2-setuptools"
16+
- bash -lc "easy_install-2.7 pip virtualenv"
17+
- bash -lc "mv /mingw64/bin/python2.exe /mingw64/bin/python2-mingw64.exe"
18+
- bash -lc "mv /mingw64/bin/python2.7.exe /mingw64/bin/python2.7-mingw64.exe"
19+
- ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-${env:TARGET}.exe" -FileName "rust-install.exe"
20+
- ps: .\rust-install.exe /VERYSILENT /NORESTART /DIR="C:\rust" | Out-Null
21+
- ps: $env:PATH="$env:PATH;C:\rust\bin"
22+
- rustc -vV
23+
- cargo -vV
24+
build_script:
25+
- cmd: >-
26+
set MSYSTEM=MINGW64
27+
28+
bash -lc "cd $APPVEYOR_BUILD_FOLDER; cargo build && cargo test"

0 commit comments

Comments
 (0)