forked from Jascha-N/minhook-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
46 lines (35 loc) · 1.14 KB
/
appveyor.yml
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
branches:
only:
- master
environment:
matrix:
- TARGET: i686-pc-windows-msvc
- TARGET: x86_64-pc-windows-msvc
#FIXME: msys2 32-bits mingw broken
#- TARGET: i686-pc-windows-gnu
# MSYS2_BITS: 32
- TARGET: x86_64-pc-windows-gnu
MSYS2_BITS: 64
HOST: x86_64-pc-windows-msvc
GH_TOKEN:
secure: UHajdmalPacLa26ORMDaOwtjJP/U4KOWjlqlHOC/ZFd2wlGscrSq9f7hnpyWWHK0
install:
- git submodule update --init --recursive
- set PATH=C:\Python27\Scripts;%APPDATA%\Python\Scripts;%PATH%
- pip install "travis-cargo<0.2" --user --disable-pip-version-check
- curl -sSOJL "https://win.rustup.rs/"
- rustup-init -vV
- rustup-init -y --default-toolchain nightly --default-host %HOST%
- set PATH=%USERPROFILE%\.cargo\bin;%PATH%
- if not "%TARGET%" == "%HOST%" rustup target add %TARGET%
- if defined MSYS2_BITS set PATH=C:\msys64\mingw%MSYS2_BITS%\bin;%PATH%
- rustc -vV
- cargo -vV
#- cargo install clippy
- set CARGO_TARGET_DIR=target
build: off
test_script:
- cargo test --target %TARGET%
#- cargo clippy --target %TARGET%
deploy_script:
- if "%TARGET%" == "%HOST%" cargo doc --no-deps && travis-cargo doc-upload