Skip to content

Commit d8b870b

Browse files
wprzytulamuzarski
authored andcommitted
rust.yml: TLS and cloud feature set checks
More cargo checks are added to the CI that try various combinations of TLS and cloud related features.
1 parent 9d618fb commit d8b870b

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

.github/workflows/rust.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,14 @@ jobs:
6666
run: cargo check --all-targets --manifest-path "scylla/Cargo.toml" --features "num-bigint-04"
6767
- name: Cargo check with bigdecimal-04 feature
6868
run: cargo check --all-targets --manifest-path "scylla/Cargo.toml" --features "bigdecimal-04"
69+
70+
# TLS-related feature sets.
71+
- name: Cargo check with openssl-x feature
72+
run: cargo check --all-targets --manifest-path "scylla/Cargo.toml" --features "openssl-010"
73+
- name: Cargo check with rustls-x feature
74+
run: cargo check --all-targets --manifest-path "scylla/Cargo.toml" --features "rustls-023"
75+
# (openssl-x, rustls-x) is checked in tls.yml.
76+
6977
- name: Build scylla-cql
7078
run: cargo build --verbose --all-targets --manifest-path "scylla-cql/Cargo.toml" --features "full-serialization"
7179
- name: Build

.github/workflows/serverless.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ on:
1111
env:
1212
CARGO_TERM_COLOR: always
1313
RUST_BACKTRACE: full
14+
RUSTFLAGS: -Dwarnings
1415

1516
jobs:
1617
build:
@@ -31,6 +32,14 @@ jobs:
3132
run: rustup update
3233
- name: Check
3334
run: cargo check --verbose
35+
# Cloud-related feature sets.
36+
- name: Cargo check with unstable-cloud and openssl-x features
37+
run: cargo check --all-targets --manifest-path "scylla/Cargo.toml" --features "unstable-cloud" --features "openssl-010"
38+
- name: Cargo check with unstable-cloud and rustls-x features
39+
run: cargo check --all-targets --manifest-path "scylla/Cargo.toml" --features "unstable-cloud" --features "rustls-023"
40+
- name: Cargo check with unstable-cloud, openssl-x and rustls-x features
41+
run: cargo check --all-targets --manifest-path "scylla/Cargo.toml" --features "unstable-cloud" --features "openssl-010" --features "rustls-023"
42+
3443
- name: Run cloud-openssl example
3544
run: cargo run --example cloud-openssl -- $HOME/.ccm/serverless/config_data.yaml
3645
- name: Run cloud-rustls example

0 commit comments

Comments
 (0)