-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
181 lines (176 loc) · 6.08 KB
/
.travis.yml
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
language: rust
sudo: false
rust: nightly
stages:
- tools
- linux-tier1
- linux-tier2
- osx-tier1
matrix:
fast_finish: true
include:
# --------------
# Linux
# --------------
# x86
- env: TARGET=i586-unknown-linux-gnu
name: "i586-unknown-linux-gnu"
stage: linux-tier2
- env: TARGET=i586-unknown-linux-gnu RUSTFLAGS="-C target-feature=+sse"
name: "i586-unknown-linux-gnu + SSE"
stage: linux-tier2
- env: TARGET=i586-unknown-linux-gnu RUSTFLAGS="-C target-feature=+sse2"
name: "i586-unknown-linux-gnu + SSE2"
stage: linux-tier2
- env: TARGET=i686-unknown-linux-gnu
name: "i686-unknown-linux-gnu + SSE2"
stage: linux-tier1
- env: TARGET=i686-unknown-linux-gnu RUSTFLAGS="-C target-feature=+sse4.2"
name: "i686-unknown-linux-gnu + SSE4.2"
stage: linux-tier1
- env: TARGET=i686-unknown-linux-gnu RUSTFLAGS="-C target-feature=+avx2"
name: "i686-unknown-linux-gnu + AVX2"
stage: linux-tier1
- env: TARGET=x86_64-unknown-linux-gnu
name: "x86_64-unknown-linux-gnu + SSE2"
install: rustup component add rustfmt-preview
stage: linux-tier1
- env: TARGET=x86_64-unknown-linux-gnu RUSTFLAGS="-C target-feature=+sse4.2"
name: "x86_64-unknown-linux-gnu + SSE4.2"
install: rustup component add rustfmt-preview
stage: linux-tier1
- env: TARGET=x86_64-unknown-linux-gnu RUSTFLAGS="-C target-feature=+avx"
name: "x86_64-unknown-linux-gnu + AVX"
install: rustup component add rustfmt-preview
stage: linux-tier1
- env: TARGET=x86_64-unknown-linux-gnu RUSTFLAGS="-C target-feature=+avx2"
name: "x86_64-unknown-linux-gnu + AVX2"
install: rustup component add rustfmt-preview
stage: linux-tier1
- env: TARGET=x86_64-unknown-linux-gnu-emulated
name: "Intel SDE + SSE2"
install: true
stage: linux-tier1
- env: TARGET=x86_64-unknown-linux-gnu-emulated RUSTFLAGS="-C target-feature=+sse4.2"
name: "Intel SDE + SSE4.2"
install: true
stage: linux-tier1
- env: TARGET=x86_64-unknown-linux-gnu-emulated RUSTFLAGS="-C target-feature=+avx"
name: "Intel SDE + AVX"
install: true
stage: linux-tier1
- env: TARGET=x86_64-unknown-linux-gnu-emulated RUSTFLAGS="-C target-feature=+avx2"
name: "Intel SDE + AVX2"
install: true
stage: linux-tier1
- env: TARGET=x86_64-unknown-linux-gnu-emulated RUSTFLAGS="-C target-feature=+avx-512f"
name: "Intel SDE + AVX-512"
install: true
stage: linux-tier1
# ARM
- env: TARGET=arm-unknown-linux-gnueabi
name: "arm-unknown-linux-gnueabi"
stage: linux-tier2
- env: TARGET=arm-unknown-linux-gnueabi RUSTFLAGS="-C target-feature=+v7,+neon"
name: "arm-unknown-linux-gnueabi + NEON"
stage: linux-tier2
- env: TARGET=arm-unknown-linux-gnueabihf
name: "arm-unknown-linux-gnueabihf"
stage: linux-tier2
- env: TARGET=arm-unknown-linux-gnueabihf RUSTFLAGS="-C target-feature=+v7,+neon"
name: "arm-unknown-linux-gnueabihf + NEON"
stage: linux-tier2
- env: TARGET=armv7-unknown-linux-gnueabihf
name: "armv7-unknown-linux-gnueabihf"
stage: linux-tier2
- env: TARGET=armv7-unknown-linux-gnueabihf RUSTFLAGS="-C target-feature=+neon"
name: "armv7-unknown-linux-gnueabihf + NEON"
stage: linux-tier2
- env: TARGET="thumbv7neon-unknown-linux-gnueabihf"
name: "thumbv7neon-unknown-linux-gnueabihf"
stage: linux-tier2
- env: TARGET=aarch64-unknown-linux-gnu
name: "aarch64-unknown-linux-gnu"
stage: linux-tier2
- env: TARGET=aarch64-unknown-linux-gnu RUSTFLAGS="-C target-feature=+neon"
name: "aarch64-unknown-linux-gnu + NEON"
# --------------
# Mac OS:
# --------------
- os: osx
env: TARGET=i686-apple-darwin
rust: stable
name: "i686-apple-darwin + SSE2"
script: ci/run.sh
osx_image: xcode10
stage: osx-tier1
- os: osx
env: TARGET=i686-apple-darwin RUSTFLAGS="-C target-feature=+sse4.2"
rust: stable
name: "i686-apple-darwin + SSE4.2"
script: ci/run.sh
osx_image: xcode10
stage: osx-tier1
# Travis-CI OSX build bots do not support AVX2:
- os: osx
env: TARGET=i686-apple-darwin RUSTFLAGS="-C target-feature=+avx"
rust: stable
name: "i686-apple-darwin + AVX"
script: ci/run.sh
osx_image: xcode10
stage: osx-tier1
- os: osx
env: TARGET=x86_64-apple-darwin
name: "x86_64-apple-darwin + SSE2"
install: true
script: ci/run.sh
osx_image: xcode10
stage: osx-tier1
- os: osx
env: TARGET=x86_64-apple-darwin RUSTFLAGS="-C target-feature=+sse4.2"
name: "x86_64-apple-darwin + SSE4.2"
install: true
script: ci/run.sh
osx_image: xcode10
stage: osx-tier1
# Travis-CI OSX build bots do not support AVX2:
- os: osx
env: TARGET=x86_64-apple-darwin RUSTFLAGS="-C target-feature=+avx"
name: "x86_64-apple-darwin + AVX"
install: true
script: ci/run.sh
osx_image: xcode10
stage: osx-tier1
# --------------
# Tools
# --------------
- name: "Documentation"
install: true
script: cargo doc
stage: tools
- name: "rustfmt"
install: true
script: |
if rustup component add rustfmt-preview ; then
cargo fmt --check || true
fi
stage: tools
- name: "clippy"
install: true
script: |
if rustup component add clippy-preview ; then
cargo clippy || true
fi
stage: tools
allow_failures:
# FIXME: https://github.com/rust-lang-nursery/packed_simd/issues/182
- env: TARGET=arm-unknown-linux-gnueabi RUSTFLAGS="-C target-feature=+v7,+neon"
- env: TARGET=arm-unknown-linux-gnueabihf RUSTFLAGS="-C target-feature=+v7,+neon"
- env: TARGET=armv7-unknown-linux-gnueabihf RUSTFLAGS="-C target-feature=+neon"
install: travis_retry rustup target add $TARGET
before_script: cargo generate-lockfile
script: travis_wait 50 ci/run-docker.sh
after_script: sleep 5
notifications:
email:
on_success: never