@@ -50,24 +50,53 @@ jobs:
50
50
test :
51
51
strategy :
52
52
matrix :
53
- platform :
54
- - ubuntu-latest
55
- - macos-latest
56
- - windows-latest
57
- toolchain :
58
- - 1.51.0 # MSRV
59
- - stable
53
+ include :
54
+ # 32-bit Linux
55
+ - target : i686-unknown-linux-gnu
56
+ platform : ubuntu-latest
57
+ rust : 1.51.0 # MSRV
58
+ deps : sudo apt update && sudo apt install gcc-multilib
59
+ - target : i686-unknown-linux-gnu
60
+ platform : ubuntu-latest
61
+ rust : stable
62
+ deps : sudo apt update && sudo apt install gcc-multilib
63
+
64
+ # 64-bit Linux
65
+ - target : x86_64-unknown-linux-gnu
66
+ platform : ubuntu-latest
67
+ rust : 1.51.0 # MSRV
68
+ - target : x86_64-unknown-linux-gnu
69
+ platform : ubuntu-latest
70
+ rust : stable
71
+
72
+ # 64-bit macOS x86_64
73
+ - target : x86_64-apple-darwin
74
+ platform : macos-latest
75
+ rust : 1.51.0 # MSRV
76
+ - target : x86_64-apple-darwin
77
+ platform : macos-latest
78
+ rust : stable
79
+
80
+ # 64-bit Windows
81
+ - target : x86_64-pc-windows-msvc
82
+ platform : windows-latest
83
+ rust : 1.51.0 # MSRV
84
+ - target : x86_64-pc-windows-msvc
85
+ platform : windows-latest
86
+ rust : stable
60
87
runs-on : ${{ matrix.platform }}
61
88
steps :
62
89
- uses : actions/checkout@v2
63
90
- uses : RustCrypto/actions/cargo-cache@master
64
91
- uses : actions-rs/toolchain@v1
65
92
with :
66
- toolchain : ${{ matrix.toolchain }}
67
- override : true
93
+ toolchain : ${{ matrix.rust }}
94
+ target : ${{ matrix.target }}
68
95
profile : minimal
96
+ override : true
69
97
# Isolate this crate from workspace which is otherwise MSRV 1.56 due to 2021 edition crates
70
98
- run : rm ../Cargo.toml
99
+ - run : ${{ matrix.deps }}
71
100
- run : cargo test
72
101
- run : cargo test --features alloc,derive,std
73
102
0 commit comments