Debian Codegraph @

third_party/rust/yaml-rust/appveyor.yml

raw
1 clone_depth: 1
2
3 branches:
4 only:
5 - master
6
7 environment:
8 LLVM_VERSION: 9.0.1
9 PLATFORM: x64
10 matrix:
11 - channel: stable
12 target: i686-pc-windows-msvc
13 type: msvc
14 - channel: stable
15 target: x86_64-pc-windows-msvc
16 type: msvc
17 - channel: stable
18 target: i686-pc-windows-gnu
19 type: gnu
20 - channel: stable
21 target: x86_64-pc-windows-gnu
22 type: gnu
23 - channel: nightly
24 target: i686-pc-windows-msvc
25 type: msvc
26 - channel: nightly
27 target: x86_64-pc-windows-msvc
28 type: msvc
29 - channel: nightly
30 target: i686-pc-windows-gnu
31 type: gnu
32 - channel: nightly
33 target: x86_64-pc-windows-gnu
34 type: gnu
35
36 install:
37 - if %PLATFORM% == x86 (set RUST_PLATFORM=i686&set MINGW_BITS=32) else (set RUST_PLATFORM=x86_64&set MINGW_BITS=64)
38 - ps: >-
39 If ($env:target -eq 'x86_64-pc-windows-gnu') {
40 $env:PATH += ';C:\msys64\mingw64\bin'
41 } ElseIf ($env:target -eq 'i686-pc-windows-gnu') {
42 $env:PATH += ';C:\msys64\mingw32\bin'
43 }
44 - appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
45 - rustup-init -yv --default-toolchain %channel% --default-host %target%
46 - set PATH=%PATH%;%USERPROFILE%\.cargo\bin
47 - rustc -vV
48 - cargo -vV
49 # Install LLVM for GNU
50 - if %type%==gnu set PATH=C:\msys64\mingw%MINGW_BITS%\bin;C:\msys64\usr\bin;%PATH%
51 - if %type%==gnu set "MINGW_URL=http://repo.msys2.org/mingw/%RUST_PLATFORM%/mingw-w64-%RUST_PLATFORM%"
52 - if %type%==gnu set "URL_VER=%LLVM_VERSION%-1-any.pkg.tar.xz"
53 - if %type%==gnu bash -lc "pacman -U --noconfirm $MINGW_URL-clang-$URL_VER $MINGW_URL-llvm-$URL_VER"
54 - if %type%==gnu bash -lc "clang --version"
55 # Use preinstalled LLVM for MSVC
56 - if %type%==msvc set PATH=%PATH%;C:\Program Files\LLVM\bin
57 - if %type%==msvc where clang
58 - if %type%==msvc clang --version
59
60 build_script:
61 - cargo build -vv
62 test_script:
63 - cargo test -vv
64 deploy: off
65