From 1028389304a8f093bdde6f888cf3207b83eca7f1 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Fri, 10 Mar 2017 09:44:56 -0500 Subject: [PATCH] Add Appveyor configuration for Windows --- .appveyor.yml | 23 +++++++++++++++++++++++ README.md | 1 + 2 files changed, 24 insertions(+) create mode 100644 .appveyor.yml diff --git a/.appveyor.yml b/.appveyor.yml new file mode 100644 index 0000000..cfef00b --- /dev/null +++ b/.appveyor.yml @@ -0,0 +1,23 @@ +os: Visual Studio 2015 + +version: "{build}" + +environment: + matrix: + - channel: stable + target: x86_64-pc-windows-msvc + - channel: nightly + target: x86_64-pc-windows-msvc + +install: + - appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe + - rustup-init -yv --default-toolchain %channel% --default-host %target% + - set PATH=%PATH%;%USERPROFILE%\.cargo\bin + - rustc -vV && cargo -vV + +build_script: + - cargo build --verbose + +test_script: + - cargo test --verbose + diff --git a/README.md b/README.md index b4d11e6..662eeac 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # findutils [![Build Status](https://travis-ci.org/google/findutils.svg?branch=master)](https://travis-ci.org/google/findutils) +[![Build status](https://ci.appveyor.com/api/projects/status/ynsfw6dohm5npykd/branch/master?svg=true)](https://ci.appveyor.com/project/antiagainst/findutils/branch/master) Rust implementation of [GNU findutils](https://www.gnu.org/software/findutils/).