third_party/rust/rayon/appveyor.yml
author Chris AtLee <catlee@mozilla.com>
Mon, 30 Jul 2018 20:23:14 +0000
changeset 429247 76b7549059a4aaa3ce26587586be3e1ed3bbdbd1
parent 404490 2f0342644d576df1d1c0bda70a629c019187e6f4
permissions -rw-r--r--
Bug 1466537: Disable full crashsymbols by branch r=ted Differential Revision: https://phabricator.services.mozilla.com/D1558

environment:
  RUST_MIN_STACK: 16777216
  matrix:
    - TARGET: x86_64-pc-windows-gnu
      CHANNEL: stable
    - TARGET: x86_64-pc-windows-gnu
      CHANNEL: stable
      RUSTFLAGS: --cfg rayon_unstable

    - TARGET: x86_64-pc-windows-gnu
      CHANNEL: beta
    - TARGET: x86_64-pc-windows-gnu
      CHANNEL: beta
      RUSTFLAGS: --cfg rayon_unstable

    - TARGET: x86_64-pc-windows-gnu
      CHANNEL: nightly
    - TARGET: x86_64-pc-windows-gnu
      CHANNEL: nightly
      RUSTFLAGS: --cfg rayon_unstable


    - TARGET: x86_64-pc-windows-msvc
      CHANNEL: stable
    - TARGET: x86_64-pc-windows-msvc
      CHANNEL: stable
      RUSTFLAGS: --cfg rayon_unstable

    - TARGET: x86_64-pc-windows-msvc
      CHANNEL: beta
    - TARGET: x86_64-pc-windows-msvc
      CHANNEL: beta
      RUSTFLAGS: --cfg rayon_unstable

    - TARGET: x86_64-pc-windows-msvc
      CHANNEL: nightly
    - TARGET: x86_64-pc-windows-msvc
      CHANNEL: nightly
      RUSTFLAGS: --cfg rayon_unstable

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

matrix:
  fast_finish: true

build: false

test_script:
  - cargo build
  - if [%CHANNEL%]==[nightly] (
      cargo test -p rayon &&
      cargo test -p rayon-core &&
      cargo test -p rayon-demo
    )
  - if not "%RUSTFLAGS%"=="%^RUSTFLAGS%" (
      cargo clean &&
      cargo build -p rayon-futures &&
      if [%CHANNEL%]==[nightly] (
        cargo test -p rayon-futures
      )
    )

branches:
  only:
    - master
    - staging
    - trying