File tree Expand file tree Collapse file tree 4 files changed +16
-21
lines changed Expand file tree Collapse file tree 4 files changed +16
-21
lines changed Original file line number Diff line number Diff line change @@ -36,10 +36,11 @@ matrix:
36
36
- env : TARGET=x86_64-unknown-linux-gnu VENDOR=OTHER
37
37
rust : nightly
38
38
39
+ # Stable, used to produce binary relreases
39
40
# Linux
40
- - env : TARGET=i686-unknown-linux-gnu
41
+ # - env: TARGET=i686-unknown-linux-gnu
41
42
- env : TARGET=i686-unknown-linux-musl
42
- - env : TARGET=x86_64-unknown-linux-gnu
43
+ # - env: TARGET=x86_64-unknown-linux-gnu
43
44
- env : TARGET=x86_64-unknown-linux-musl
44
45
45
46
# OSX
Original file line number Diff line number Diff line change 1
1
set -euxo pipefail
2
2
3
3
main () {
4
- if [ $TARGET = x86_64-pc-windows-msvc ]; then
5
- cargo=cargo
6
- else
7
- cargo=cross
8
- fi
9
-
10
- $cargo rustc --bin svd2rust --target $TARGET --release -- -C lto
4
+ cargo rustc --bin svd2rust --target $TARGET --release -- -C lto
11
5
12
6
rm -rf stage
13
7
mkdir stage
Original file line number Diff line number Diff line change @@ -10,16 +10,16 @@ main() {
10
10
sort=gsort
11
11
fi
12
12
13
- local tag=$( git ls-remote --tags --refs --exit-code https://github.com/japaric/cross \
14
- | cut -d/ -f3 \
15
- | grep -E ' ^v[0-9.]+$' \
16
- | $sort --version-sort \
17
- | tail -n1)
18
- curl -LSfs https://japaric.github.io/trust/install.sh | \
19
- sh -s -- \
20
- --force \
21
- --git japaric/cross \
22
- --tag $tag
13
+ # local tag=$(git ls-remote --tags --refs --exit-code https://github.com/japaric/cross \
14
+ # | cut -d/ -f3 \
15
+ # | grep -E '^v[0-9.]+$' \
16
+ # | $sort --version-sort \
17
+ # | tail -n1)
18
+ # curl -LSfs https://japaric.github.io/trust/install.sh | \
19
+ # sh -s -- \
20
+ # --force \
21
+ # --git japaric/cross \
22
+ # --tag $tag
23
23
24
24
rustup component add rustfmt-preview
25
25
}
Original file line number Diff line number Diff line change @@ -29,13 +29,13 @@ main() {
29
29
return
30
30
fi
31
31
32
- cross check --target $TARGET
32
+ cargo check --target $TARGET
33
33
34
34
if [ -z ${VENDOR-} ]; then
35
35
return
36
36
fi
37
37
38
- cross build --target $TARGET --release
38
+ cargo build --target $TARGET --release
39
39
40
40
case $TRAVIS_OS_NAME in
41
41
linux)
You can’t perform that action at this time.
0 commit comments