Skip to content

Commit 1be2fee

Browse files
committed
Add appveyor config
1 parent 258c261 commit 1be2fee

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ regex
44
A Rust library for parsing, compiling, and executing regular expressions.
55

66
[![Build Status](https://travis-ci.org/rust-lang/regex.svg?branch=master)](https://travis-ci.org/rust-lang/regex)
7+
[![Build status](https://ci.appveyor.com/api/projects/status/22g48bo866qr4u77?svg=true)](https://ci.appveyor.com/project/alexcrichton/regex)
78
[![](http://meritbadge.herokuapp.com/regex)](https://crates.io/crates/regex)
89

910
[Documentation](http://doc.rust-lang.org/regex)

appveyor.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
environment:
2+
CARGO_TARGET: x86_64-pc-windows-gnu
3+
matrix:
4+
- TARGET: x86_64-pc-windows-msvc
5+
- TARGET: i686-pc-windows-gnu
6+
install:
7+
- ps: Start-FileDownload "https://static.rust-lang.org/dist/rustc-nightly-${env:TARGET}.tar.gz"
8+
- ps: Start-FileDownload "https://static.rust-lang.org/cargo-dist/cargo-nightly-${env:CARGO_TARGET}.tar.gz"
9+
- 7z x rustc-nightly-%TARGET%.tar.gz > nul
10+
- 7z x rustc-nightly-%TARGET%.tar > nul
11+
- 7z x cargo-nightly-%CARGO_TARGET%.tar.gz > nul
12+
- 7z x cargo-nightly-%CARGO_TARGET%.tar > nul
13+
- call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" amd64
14+
- set PATH=%PATH%;%cd%/rustc-nightly-%TARGET%/rustc/bin
15+
- set PATH=%PATH%;%cd%/cargo-nightly-%CARGO_TARGET%/cargo/bin
16+
- SET PATH=%PATH%;C:\MinGW\bin
17+
- rustc -V
18+
- cargo -V
19+
20+
build: false
21+
22+
test_script:
23+
- cargo test --verbose

0 commit comments

Comments
 (0)