@@ -16,7 +16,8 @@ concurrency:
1616 cancel-in-progress : true
1717
1818env :
19- CARGO_ARGS : --no-default-features --features stdlib,importlib,stdio,encodings,sqlite,ssl
19+ CARGO_ARGS : --no-default-features --features stdlib,importlib,stdio,encodings,sqlite,ssl-rustls
20+ CARGO_ARGS_NO_SSL : --no-default-features --features stdlib,importlib,stdio,encodings,sqlite
2021 # Skip additional tests on Windows. They are checked on Linux and MacOS.
2122 # test_glob: many failing tests
2223 # test_io: many failing tests
@@ -169,7 +170,7 @@ jobs:
169170 target : aarch64-apple-ios
170171 if : runner.os == 'macOS'
171172 - name : Check compilation for iOS
172- run : cargo check --target aarch64-apple-ios
173+ run : cargo check --target aarch64-apple-ios ${{ env.CARGO_ARGS_NO_SSL }}
173174 if : runner.os == 'macOS'
174175
175176 exotic_targets :
@@ -186,14 +187,14 @@ jobs:
186187 - name : Install gcc-multilib and musl-tools
187188 run : sudo apt-get update && sudo apt-get install gcc-multilib musl-tools
188189 - name : Check compilation for x86 32bit
189- run : cargo check --target i686-unknown-linux-gnu
190+ run : cargo check --target i686-unknown-linux-gnu ${{ env.CARGO_ARGS_NO_SSL }}
190191
191192 - uses : dtolnay/rust-toolchain@stable
192193 with :
193194 target : aarch64-linux-android
194195
195196 - name : Check compilation for android
196- run : cargo check --target aarch64-linux-android
197+ run : cargo check --target aarch64-linux-android ${{ env.CARGO_ARGS_NO_SSL }}
197198
198199 - uses : dtolnay/rust-toolchain@stable
199200 with :
@@ -202,28 +203,28 @@ jobs:
202203 - name : Install gcc-aarch64-linux-gnu
203204 run : sudo apt install gcc-aarch64-linux-gnu
204205 - name : Check compilation for aarch64 linux gnu
205- run : cargo check --target aarch64-unknown-linux-gnu
206+ run : cargo check --target aarch64-unknown-linux-gnu ${{ env.CARGO_ARGS_NO_SSL }}
206207
207208 - uses : dtolnay/rust-toolchain@stable
208209 with :
209210 target : i686-unknown-linux-musl
210211
211212 - name : Check compilation for musl
212- run : cargo check --target i686-unknown-linux-musl
213+ run : cargo check --target i686-unknown-linux-musl ${{ env.CARGO_ARGS_NO_SSL }}
213214
214215 - uses : dtolnay/rust-toolchain@stable
215216 with :
216217 target : x86_64-unknown-freebsd
217218
218219 - name : Check compilation for freebsd
219- run : cargo check --target x86_64-unknown-freebsd
220+ run : cargo check --target x86_64-unknown-freebsd ${{ env.CARGO_ARGS_NO_SSL }}
220221
221222 - uses : dtolnay/rust-toolchain@stable
222223 with :
223224 target : x86_64-unknown-freebsd
224225
225226 - name : Check compilation for freeBSD
226- run : cargo check --target x86_64-unknown-freebsd
227+ run : cargo check --target x86_64-unknown-freebsd ${{ env.CARGO_ARGS_NO_SSL }}
227228
228229 # - name: Prepare repository for redox compilation
229230 # run: bash scripts/redox/uncomment-cargo.sh
0 commit comments