12
12
steps :
13
13
- uses : actions/checkout@master
14
14
- name : Install Rust
15
- run : rustup update ${{ matrix.rust }} && rustup default ${{ matrix.rust }}
15
+ run : |
16
+ rustup update ${{ matrix.rust }} --no-self-update
17
+ rustup default ${{ matrix.rust }}
16
18
- run : cargo test
17
19
- name : Integration test
18
20
run : cargo test --manifest-path test-crate/Cargo.toml
23
25
steps :
24
26
- uses : actions/checkout@master
25
27
- name : Install Rust
26
- run : rustup update stable && rustup default stable && rustup component add rustfmt
28
+ run : |
29
+ rustup update stable --no-self-update
30
+ rustup default stable
31
+ rustup component add rustfmt
27
32
- run : cargo fmt -- --check
28
33
29
34
cross_compile_test :
39
44
test : true
40
45
- target : arm-unknown-linux-gnueabihf
41
46
test : true
42
- - target : mips-unknown-linux-gnu
43
- test : true
44
- - target : mips64-unknown-linux-gnuabi64
45
- test : true
46
- - target : mips64el-unknown-linux-gnuabi64
47
- test : true
48
- - target : mipsel-unknown-linux-gnu
49
- test : true
50
47
- target : powerpc-unknown-linux-gnu
51
48
test : true
52
49
- target : s390x-unknown-linux-gnu
@@ -55,24 +52,27 @@ jobs:
55
52
test : true
56
53
- target : aarch64-unknown-linux-musl
57
54
test : true
58
- - target : x86_64-pc-windows-gnu
59
- test : true
60
55
# Build only
61
- - target : x86_64-unknown-freebsd
56
+ - target : x86_64-pc-solaris
62
57
test : false
63
- - target : x86_64-unknown-netbsd
58
+ - target : x86_64-pc-windows-gnu
64
59
test : false
65
- - target : x86_64-sun-solaris
60
+ # FIXME: build fails, see <https://github.com/rust-lang/cmake-rs/issues/211>
61
+ # - target: x86_64-unknown-freebsd
62
+ # test: false
63
+ - target : x86_64-unknown-netbsd
66
64
test : false
67
65
- target : x86_64-unknown-illumos
68
66
test : false
69
67
steps :
70
68
- uses : actions/checkout@master
71
- - uses : actions-rs/toolchain@v1
72
- with :
73
- toolchain : stable
74
- target : ${{ matrix.platform.target }}
75
- - uses : taiki-e/install-action@v1
69
+ - name : Install Rust
70
+ run : |
71
+ rustup update stable --no-self-update
72
+ rustup default stable
73
+ rustup target add ${{ matrix.platform.target }}
74
+ - run : cargo fmt -- --check
75
+ - uses : taiki-e/install-action@v2
76
76
with :
77
77
tool : cross
78
78
- name : cross test
0 commit comments