This repository was archived by the owner on Apr 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +45
-0
lines changed Expand file tree Collapse file tree 2 files changed +45
-0
lines changed Original file line number Diff line number Diff line change
1
+ language : rust
2
+
3
+ matrix :
4
+ include :
5
+ - env : TARGET=aarch64-unknown-linux-gnu
6
+ - env : TARGET=armv7-unknown-linux-gnueabihf
7
+ - env : TARGET=i686-unknown-linux-gnu
8
+ - env : TARGET=mips-unknown-linux-gnu
9
+ - env : TARGET=mips64-unknown-linux-gnuabi64
10
+ - env : TARGET=mips64el-unknown-linux-gnuabi64
11
+ - env : TARGET=mipsel-unknown-linux-gnu
12
+ - env : TARGET=powerpc-unknown-linux-gnu
13
+ - env : TARGET=powerpc64-unknown-linux-gnu
14
+ - env : TARGET=powerpc64le-unknown-linux-gnu
15
+ - env : TARGET=x86_64-unknown-linux-gnu
16
+
17
+ before_install : set -e
18
+
19
+ install :
20
+ - bash ci/install.sh
21
+
22
+ script :
23
+ - bash ci/script.sh
24
+
25
+ after_script : set +e
26
+
27
+ cache : cargo
28
+
29
+ before_cache :
30
+ - chmod -R a+r $HOME/.cargo;
Original file line number Diff line number Diff line change
1
+ set -euxo pipefail
2
+
3
+ main () {
4
+ if ! hash cross > /dev/null 2>&1 ; then
5
+ cargo install cross
6
+ fi
7
+
8
+ rustup target add x86_64-unknown-linux-musl
9
+
10
+ if [ $TARGET != x86_64-unknown-linux-gnu ]; then
11
+ rustup target add $TARGET
12
+ fi
13
+ }
14
+
15
+ main
You can’t perform that action at this time.
0 commit comments