packed_simd 0.3.1

Portable Packed SIMD vectors
matrix:
  allow_failures:
    # FIXME: https://github.com/rust-lang-nursery/packed_simd/issues/72
    - TARGET: i686-pc-windows-msvc
    - TARGET: i686-pc-windows-gnu
    - TARGET: x86_64-pc-windows-gnu
  fast_finish: true

environment:
  matrix:
    - TARGET: x86_64-pc-windows-msvc
      MSYSTEM: MINGW64
      NOVERIFY: "1"
    - TARGET: x86_64-pc-windows-msvc
      MSYSTEM: MINGW64
      RUSTFLAGS: "-C target-feature=+sse4.2"
      NOVERIFY: "1"
    - TARGET: x86_64-pc-windows-msvc
      MSYSTEM: MINGW64
      RUSTFLAGS: "-C target-feature=+avx"
      NOVERIFY: "1"
    - TARGET: x86_64-pc-windows-msvc
      MSYSTEM: MINGW64
      RUSTFLAGS: "-C target-feature=+avx2"
      NOVERIFY: "1"

    - TARGET: i686-pc-windows-msvc
      MSYSTEM: MINGW32
      NOVERIFY: "1"
    - TARGET: i686-pc-windows-msvc
      MSYSTEM: MINGW32
      RUSTFLAGS: "-C target-feature=+sse4.2"
      NOVERIFY: "1"
    - TARGET: i686-pc-windows-msvc
      MSYSTEM: MINGW32
      RUSTFLAGS: "-C target-feature=+avx"
      NOVERIFY: "1"
    - TARGET: i686-pc-windows-msvc
      MSYSTEM: MINGW32
      RUSTFLAGS: "-C target-feature=+avx2"
      NOVERIFY: "1"

    - TARGET: x86_64-pc-windows-gnu
      MSYSTEM: MINGW64

    - TARGET: i686-pc-windows-gnu
      MSYSTEM: MINGW32
    - TARGET: x86_64-pc-windows-gnu
      MSYSTEM: MINGW64
install:
  - ps: if (ls -r . -fi "*.rs" | sls "`t") { throw "Found tab character" }
  - ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-nightly-${env:TARGET}.exe" -FileName "rust-install.exe"
  - ps: .\rust-install.exe /VERYSILENT /NORESTART /DIR="C:\rust" | Out-Null
  - ps: $env:PATH="$env:PATH;C:\rust\bin"
  - set PATH=c:\msys64\%MSYSTEM%\bin;c:\msys64\usr\bin;%PATH%
  - rustc -vV
  - cargo -vV
build: false
test_script: bash -c "ci/run.sh"