File tree Expand file tree Collapse file tree 1 file changed +15
-12
lines changed Expand file tree Collapse file tree 1 file changed +15
-12
lines changed Original file line number Diff line number Diff line change 49
49
HOME : /tmp/home
50
50
PATH : $HOME/.cargo/bin:$PATH
51
51
matrix :
52
- - name : Linux aarch64
53
- env :
54
- TARGET : aarch64-unknown-linux-gnu
55
52
- name : Linux arm gnueabi
56
53
env :
57
54
TARGET : arm-unknown-linux-gnueabi
@@ -101,25 +98,31 @@ task:
101
98
task :
102
99
matrix :
103
100
- name : Rust Stable
101
+ container :
102
+ image : rust:latest
104
103
env :
105
104
TARGET : x86_64-unknown-linux-gnu
106
- TOOLCHAIN : stable
105
+ - name : Linux aarch64
106
+ arm_container :
107
+ image : rust:1.46
108
+ env :
109
+ TARGET : aarch64-unknown-linux-gnu
107
110
- name : Linux x86_64
111
+ container :
112
+ image : rust:1.46
108
113
env :
109
114
TARGET : x86_64-unknown-linux-gnu
110
- TOOLCHAIN : 1.46.0
111
115
- name : Linux x86_64 musl
116
+ container :
117
+ image : rust:1.46
112
118
env :
113
119
TARGET : x86_64-unknown-linux-musl
114
- TOOLCHAIN : 1.46.0
115
- container :
116
- image : rust:1.46
117
120
setup_script :
118
- - rustup toolchain install $TOOLCHAIN
119
- - rustup target add --toolchain $TOOLCHAIN $TARGET
121
+ - rustup target add $TARGET
122
+ - uname -a
120
123
script :
121
- - cargo +$TOOLCHAIN build --target $TARGET --all-targets
122
- - cargo +$TOOLCHAIN test --target $TARGET
124
+ - cargo build --target $TARGET --all-targets
125
+ - cargo test --target $TARGET
123
126
before_cache_script : rm -rf $CARGO_HOME/registry/index
124
127
125
128
# Tasks for cross-compiling, but no testing
You can’t perform that action at this time.
0 commit comments