rust/.travis.yml

262 lines
5.8 KiB
YAML
Raw Normal View History

2020-09-28 04:52:28 -05:00
language: rust
rust:
- nightly
matrix:
fast_finish: true
include:
# Linux (x86_64)
2020-09-28 18:02:16 -05:00
2020-09-28 04:52:28 -05:00
- name: "x86_64-unknown-linux-gnu"
os: linux
arch: amd64
env:
- TARGET=x86_64-unknown-linux-gnu
2020-09-28 18:02:16 -05:00
2020-09-28 04:52:28 -05:00
- name: "x86_64-unknown-linux-gnu+sse"
os: linux
arch: amd64
env:
- TARGET=x86_64-unknown-linux-gnu
- TARGET_FEATURE=sse
2020-09-28 18:02:16 -05:00
2020-09-28 04:52:28 -05:00
- name: "x86_64-unknown-linux-gnu+sse2"
os: linux
arch: amd64
env:
- TARGET=x86_64-unknown-linux-gnu
- TARGET_FEATURE=sse2
2020-09-28 18:02:16 -05:00
2020-09-28 04:52:28 -05:00
- name: "x86_64-unknown-linux-gnu+sse3"
os: linux
arch: amd64
env:
- TARGET=x86_64-unknown-linux-gnu
- TARGET_FEATURE=sse3
2020-09-28 18:02:16 -05:00
2020-09-28 04:52:28 -05:00
- name: "x86_64-unknown-linux-gnu+sse4.1"
os: linux
arch: amd64
env:
- TARGET=x86_64-unknown-linux-gnu
- TARGET_FEATURE=sse4.1
2020-09-28 18:02:16 -05:00
2020-09-28 04:52:28 -05:00
- name: "x86_64-unknown-linux-gnu+sse4.2"
os: linux
arch: amd64
env:
- TARGET=x86_64-unknown-linux-gnu
- TARGET_FEATURE=sse4.2
2020-09-28 18:02:16 -05:00
2020-09-28 04:52:28 -05:00
- name: "x86_64-unknown-linux-gnu+avx"
os: linux
arch: amd64
env:
- TARGET=x86_64-unknown-linux-gnu
- TARGET_FEATURE=avx
2020-09-28 18:02:16 -05:00
2020-09-28 04:52:28 -05:00
- name: "x86_64-unknown-linux-gnu+avx2"
os: linux
arch: amd64
env:
- TARGET=x86_64-unknown-linux-gnu
- TARGET_FEATURE=avx2
2020-09-28 18:02:16 -05:00
2020-09-28 04:52:28 -05:00
- name: "x86_64-unknown-linux-gnu+avx512vl"
os: linux
arch: amd64
env:
- TARGET=x86_64-unknown-linux-gnu
- TARGET_FEATURE=avx512vl
# Linux (aarch64)
2020-09-28 18:02:16 -05:00
2020-09-28 04:52:28 -05:00
- name: "aarch64-unknown-linux-gnu"
os: linux
arch: arm64
env:
- TARGET=aarch64-unknown-linux-gnu
2020-09-28 18:02:16 -05:00
2020-09-28 04:52:28 -05:00
- name: "aarch64-unknown-linux-gnu+neon"
os: linux
arch: arm64
env:
- TARGET=aarch64-unknown-linux-gnu
- TARGET_FEATURE=neon
2020-09-28 18:02:16 -05:00
2020-09-28 04:52:28 -05:00
- name: "aarch64-unknown-linux-gnu+sve"
os: linux
arch: arm64
env:
- TARGET=aarch64-unknown-linux-gnu
- TARGET_FEATURE=sve
# Linux (powerpc64)
2020-09-28 18:02:16 -05:00
2020-09-28 04:52:28 -05:00
- name: "powerpc64le-unknown-linux-gnu"
os: linux
arch: ppc64le
env:
- TARGET=powerpc64le-unknown-linux-gnu
2020-09-28 18:02:16 -05:00
2020-09-28 04:52:28 -05:00
- name: "powerpc64le-unknown-linux-gnu+vsx"
os: linux
arch: ppc64le
env:
- TARGET=powerpc64le-unknown-linux-gnu
- TARGET_FEATURE=vsx
# Windows (x86_64)
2020-09-28 18:02:16 -05:00
2020-09-28 04:52:28 -05:00
- name: "x86_64-pc-windows-msvc"
os: windows
arch: amd64
env: TARGET=x86_64-pc-windows-msvc
# Windows (i686)
2020-09-28 18:02:16 -05:00
2020-09-28 04:52:28 -05:00
- name: "i686-pc-windows-msvc"
os: windows
env: TARGET=i686-pc-windows-msvc
2020-09-28 18:02:16 -05:00
2020-09-28 04:52:28 -05:00
- name: "i686-pc-windows-msvc+sse"
os: windows
arch: amd64
env:
- TARGET=i686-pc-windows-msvc
- TARGET_FEATURE=sse
2020-09-28 18:02:16 -05:00
2020-09-28 04:52:28 -05:00
- name: "i686-pc-windows-msvc+sse2"
os: windows
arch: amd64
env:
- TARGET=i686-pc-windows-msvc
- TARGET_FEATURE=sse2
2020-09-28 18:02:16 -05:00
2020-09-28 04:52:28 -05:00
- name: "i686-pc-windows-msvc+sse3"
os: windows
arch: amd64
env:
- TARGET=i686-pc-windows-msvc
- TARGET_FEATURE=sse3
2020-09-28 18:02:16 -05:00
2020-09-28 04:52:28 -05:00
- name: "i686-pc-windows-msvc+sse4.1"
os: windows
arch: amd64
env:
- TARGET=i686-pc-windows-msvc
- TARGET_FEATURE=sse4.1
2020-09-28 18:02:16 -05:00
2020-09-28 04:52:28 -05:00
- name: "i686-pc-windows-msvc+sse4.2"
os: windows
arch: amd64
env:
- TARGET=i686-pc-windows-msvc
- TARGET_FEATURE=sse4.2
2020-09-28 18:02:16 -05:00
2020-09-28 04:52:28 -05:00
- name: "i686-pc-windows-msvc+avx"
os: windows
arch: amd64
env:
- TARGET=i686-pc-windows-msvc
- TARGET_FEATURE=avx
2020-09-28 18:02:16 -05:00
2020-09-28 04:52:28 -05:00
- name: "i686-pc-windows-msvc+avx2"
os: windows
arch: amd64
env:
- TARGET=i686-pc-windows-msvc
- TARGET_FEATURE=avx2
2020-09-28 18:02:16 -05:00
# Windows (i586)
- name: "i586-pc-windows-msvc"
os: windows
env: TARGET=i586-pc-windows-msvc
- name: "i586-pc-windows-msvc+sse"
os: windows
arch: amd64
env:
- TARGET=i586-pc-windows-msvc
- TARGET_FEATURE=sse
- name: "i586-pc-windows-msvc+sse2"
os: windows
arch: amd64
env:
- TARGET=i586-pc-windows-msvc
- TARGET_FEATURE=sse2
- name: "i586-pc-windows-msvc+sse3"
os: windows
arch: amd64
env:
- TARGET=i586-pc-windows-msvc
- TARGET_FEATURE=sse3
- name: "i586-pc-windows-msvc+sse4.1"
os: windows
arch: amd64
env:
- TARGET=i586-pc-windows-msvc
- TARGET_FEATURE=sse4.1
- name: "i586-pc-windows-msvc+sse4.2"
os: windows
arch: amd64
env:
- TARGET=i586-pc-windows-msvc
- TARGET_FEATURE=sse4.2
- name: "i586-pc-windows-msvc+avx"
os: windows
arch: amd64
env:
- TARGET=i586-pc-windows-msvc
- TARGET_FEATURE=avx
- name: "i586-pc-windows-msvc+avx2"
os: windows
arch: amd64
env:
- TARGET=i586-pc-windows-msvc
- TARGET_FEATURE=avx2
2020-09-28 04:52:28 -05:00
# OSX (x86_64)
2020-09-28 18:02:16 -05:00
2020-09-28 04:52:28 -05:00
- name: "x86_64-apple-darwin"
os: osx
arch: amd64
env:
- TARGET=x86_64-apple-darwin
# WebAssembly (wasm-bindgen)
- name: "wasm32-unknown-unknown (node, firefox, chrome)"
os: linux
arch: amd64
addons:
firefox: latest
chrome : stable
install:
- curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
script:
- wasm-pack test --node --firefox --chrome --headless crates/core_simd
- name: "wasm32-unknown-unknown+simd128 (chrome)"
os: linux
arch: amd64
addons:
chrome : stable
install:
- curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
script:
- RUSTFLAGS="-C target-feature=+simd128"
- wasm-pack test --chrome --headless crates/core_simd
2020-09-28 04:52:28 -05:00
script:
- rustup target add $TARGET
- if [ -n "$TARGET_FEATURE" ]; then RUSTFLAGS="-C target-feature=+$TARGET_FEATURE"; fi
- cargo test -v --target $TARGET