forked from rust-lang/rls
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
34 lines (29 loc) · 809 Bytes
/
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
environment:
global:
PROJECT_NAME: rls
matrix:
- TARGET: i686-pc-windows-msvc
CHANNEL: nightly
BITS: 32
- TARGET: x86_64-pc-windows-msvc
CHANNEL: nightly
BITS: 64
install:
- set PATH=C:\msys64\mingw%BITS%\bin;C:\msys64\usr\bin;%PATH%
- curl -sSf -o rustup-init.exe https://win.rustup.rs
# Install rust
- rustup-init.exe -y --default-host %TARGET% --default-toolchain %CHANNEL%-%TARGET%
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
# Required for Racer autoconfiguration
- rustup component add rust-src
# Print version info
- rustc -Vv
- cargo -V
build: false
test_script:
# compile #[cfg(not(test))] code
- cargo build --verbose
- cargo test --verbose
cache:
- target -> Cargo.lock
- C:\Users\appveyor\.cargo\registry -> Cargo.lock