]> git.lizzy.rs Git - rust.git/blob - .travis.yml
Burn Chrome again
[rust.git] / .travis.yml
1 branches:
2   only:
3     - master
4
5 language: rust
6 rust:
7   - nightly
8
9 matrix:
10   fast_finish: true
11   include:
12     # Linux (aarch64)
13     - name: "aarch64-unknown-linux-gnu (neon)"
14       os: linux
15       arch: arm64
16
17     - name: "aarch64-unknown-linux-gnu (neon, sve)"
18       os: linux
19       arch: arm64
20       env: RUSTFLAGS=-Ctarget-feature=+sve
21
22     - name: "aarch64-unknown-linux-gnu (native, see log for cfg)"
23       os: linux
24       arch: arm64
25       env: RUSTFLAGS=-Ctarget-cpu=native
26
27     # Linux (powerpc64le)
28     - name: "powerpc64le-unknown-linux-gnu (altivec, vsx, power8-*)"
29       os: linux
30       arch: ppc64le
31
32     - name: "powerpc64le-unknown-linux-gnu (native, see log for cfg)"
33       os: linux
34       arch: ppc64le
35       env: RUSTFLAGS=-Ctarget-cpu=native
36
37     # Linux (x86_64) (for AVX512, which sadly seems to only *usually* be present
38     # on the github actions linux runner...)
39     - name: "x86_64-unknown-linux-gnu+avx512vl"
40       os: linux
41       arch: amd64
42       env: RUSTFLAGS=-Ctarget-feature=+avx512vl
43
44     # WebAssembly (wasm-bindgen)
45     - name: "wasm32-unknown-unknown (firefox)"
46       os: linux
47       arch: amd64
48       addons:
49         firefox: latest-nightly
50       install:
51         - curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
52       script:
53         - wasm-pack test --firefox --headless crates/core_simd
54         - wasm-pack test --firefox --headless crates/core_simd --release
55
56     - name: "wasm32-unknown-unknown+simd128 (firefox)"
57       os: linux
58       arch: amd64
59       addons:
60         firefox: latest-nightly
61       install:
62         - curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
63       script:
64         - export RUSTFLAGS="-C target-feature=+simd128"
65         - wasm-pack test --firefox --headless crates/core_simd
66         - wasm-pack test --firefox --headless crates/core_simd --release
67
68 script:
69   - echo "## Requested target configuration (RUSTFLAGS=$RUSTFLAGS)"
70   - rustc --print=cfg $RUSTFLAGS
71
72   - echo "## Supported target configuration"
73   - rustc --print=cfg -Ctarget-cpu=native
74
75   - echo "\n---\n"
76
77   - echo "## Running tests (debug)"
78   - cargo test -v
79
80   - echo "## Running tests (release)"
81   - cargo test -v --release