forked from tokio-rs/prost
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.appveyor.yml
More file actions
31 lines (25 loc) · 899 Bytes
/
.appveyor.yml
File metadata and controls
31 lines (25 loc) · 899 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
environment:
matrix:
- TARGET: i686-pc-windows-msvc
- TARGET: x86_64-pc-windows-msvc
install:
# Install rust, x86_64-pc-windows-msvc host
- appveyor-retry appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
- rustup-init.exe -y --default-host x86_64-pc-windows-msvc
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
# Install the target we're compiling for
- if NOT "%TARGET%" == "x86_64-pc-windows-msvc" rustup target add %TARGET%
# let's see what we got
- where gcc rustc cargo
- rustc -vV
- cargo -vV
- set CARGO_TARGET_DIR=%CD%\target
build: false
test_script:
- SET RUST_BACKTRACE=1
# The 'protobuf' crate can't be compiled on Windows, which means none of the
# integration tests or benchmarks can be run.
- cargo test --target %TARGET% -p prost -p prost-build -p prost-types
cache:
- C:\Users\appveyor\.cargo\registry
- target