summaryrefslogtreecommitdiffstats
path: root/third_party/rust/winreg/appveyor.yml
blob: b690b6a0cb547a5114151dc1e809f4fa9a3c27f4 (plain)
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
version: 0.10.{build}
pull_requests:
  do_not_increment_build_number: true

branches:
  except:
    - github-actions

os: Visual Studio 2015

environment:
  matrix:
    - TARGET: x86_64-pc-windows-msvc
      CHANNEL: 1.31.1
    - TARGET: x86_64-pc-windows-gnu
      CHANNEL: stable
    - TARGET: x86_64-pc-windows-msvc
      CHANNEL: stable
    - TARGET: i686-pc-windows-gnu
      CHANNEL: stable
    - TARGET: i686-pc-windows-msvc
      CHANNEL: stable

install:
  - curl -sSf -o rustup-init.exe https://win.rustup.rs
  - rustup-init.exe --profile=minimal --component rustfmt,clippy --default-host %TARGET% --default-toolchain %CHANNEL% -y
  - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
  - rustc -Vv
  - cargo -V

build: false

test_script:
  - if not "%CHANNEL%"=="1.31.1" cargo fmt --all -- --check
  - if not "%CHANNEL%"=="1.31.1" cargo clippy --all-features --all-targets
  - cargo test --release --no-default-features
  - cargo test --release --all-features