forked from thehydroimpulse/nanomsg.rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
32 lines (29 loc) · 953 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
os:
- MinGW
install:
# Go To libnanomsg Destination Directory
- cd ..
# Download And Compile libnanomsg
- ps: Start-FileDownload 'https://github.com/nanomsg/nanomsg/releases/download/0.8-beta/nanomsg-0.8-beta.zip'
- 7z x nanomsg-0.8-beta.zip
- cd nanomsg-0.8-beta
- cmake . && msbuild nanomsg.sln
# Fix libnanomsg Library Directory Name
- mv .\Debug .\.libs
# Return To nanomsg-rs Git Directory
- cd ..\nanomsg-rs
# Download And Install Rust
- ps: Start-FileDownload 'https://static.rust-lang.org/dist/rust-1.6.0-i686-pc-windows-gnu.msi'
- msiexec /i rust-1.6.0-i686-pc-windows-gnu.msi /passive /norestart
- SET PATH=%PATH%;C:\MinGW\bin
- SET PATH=%PATH%;C:\Program Files (x86)\Rust stable GNU 1.6\bin
- gcc -v
- rustc -V
- cargo -V
build_script:
- cargo build
test_script:
- cargo test
# Move libnanomsg To Test nanomsg_sys
- mv ../nanomsg-0.8-beta ./nanomsg-0.8-beta && cd nanomsg_sys
- cargo test