Skip to content

Commit

Permalink
final appveyor touchups
Browse files Browse the repository at this point in the history
  • Loading branch information
dginev committed Sep 29, 2020
1 parent a3b884e commit c3553e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 19 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[![Build Status](https://secure.travis-ci.org/KWARC/rust-libxml.png?branch=master)](http://travis-ci.org/KWARC/rust-libxml)
[![Build status](https://ci.appveyor.com/api/projects/status/77y239qifm940bpu/branch/master?svg=true)](https://ci.appveyor.com/project/dginev/rust-libxml/branch/master)
[![API Documentation](https://img.shields.io/badge/docs-API-blue.svg)](http://KWARC.github.io/rust-libxml/libxml/index.html)
[![License](http://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/KWARC/rust-libxml/master/LICENSE)
[![crates.io](https://img.shields.io/crates/v/libxml.svg)](https://crates.io/crates/libxml)
Expand Down
20 changes: 1 addition & 19 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,9 @@

environment:
global:
# TODO This is the Rust channel that build jobs will use by default but can be
# overridden on a case by case basis down below
RUST_VERSION: stable

# TODO Update this to match the name of your project.
CRATE_NAME: rust-libxml

# TODO These are all the build jobs. Adjust as necessary. Comment out what you
# don't need
matrix:
- CHANNEL: stable
ARCH: x86_64
Expand All @@ -22,29 +16,17 @@ environment:
TARGET: x86_64-pc-windows-msvc

install:
- ps: >-
If ($env:TARGET -eq 'x86_64-pc-windows-gnu') {
$env:PATH += ';C:\msys64\mingw64\bin'
} ElseIf ($env:TARGET -eq 'i686-pc-windows-gnu') {
$env:PATH += ';C:\msys64\mingw32\bin'
}
- vcpkg install libxml2
- curl -sSf -o rustup-init.exe https://win.rustup.rs/
- rustup-init.exe -y --default-host %TARGET% --default-toolchain %RUST_VERSION%
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
- rustc -Vv
- cargo -V

# TODO This is the "test phase", tweak it as you see fit
test_script:
# we don't run the "test phase" when doing deploys
- if [%APPVEYOR_REPO_TAG%]==[false] (
cargo build --target %TARGET% &&
cargo build --target %TARGET% --release &&
cargo test --target %TARGET% &&
cargo test --target %TARGET% --release &&
cargo run --target %TARGET% &&
cargo run --target %TARGET% --release
cargo test --target %TARGET%
)

cache:
Expand Down

0 comments on commit c3553e7

Please sign in to comment.