Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable the upkeep_7_62_0 and poll_7_68_0 features in CI #414

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions ci/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,20 @@ set -ex
cargo test --target $TARGET --no-run
# First test with no extra protocols enabled.
cargo test --target $TARGET --no-run --features static-curl
# Then with all extra protocols enabled.
cargo test --target $TARGET --no-run --features static-curl,protocol-ftp
# Then with all extra protocols and features enabled.
cargo test --target $TARGET --no-run --features static-curl,protocol-ftp,upkeep_7_62_0,poll_7_68_0
if [ -z "$NO_RUN" ]; then
cargo test --target $TARGET
cargo test --target $TARGET --features static-curl
cargo test --target $TARGET --features static-curl,protocol-ftp
cargo test --target $TARGET --features static-curl,protocol-ftp,upkeep_7_62_0,poll_7_68_0

# Note that `-Clink-dead-code` is passed here to suppress `--gc-sections` to
# help confirm that we're compiling everything necessary for curl itself.
RUSTFLAGS=-Clink-dead-code \
cargo run --manifest-path systest/Cargo.toml --target $TARGET
RUSTFLAGS=-Clink-dead-code \
cargo run --manifest-path systest/Cargo.toml --target $TARGET --features curl-sys/static-curl,curl-sys/protocol-ftp
cargo run --manifest-path systest/Cargo.toml --target $TARGET --features \
curl-sys/static-curl,curl-sys/protocol-ftp,curl-sys/upkeep_7_62_0,curl-sys/poll_7_68_0

cargo doc --no-deps --target $TARGET
cargo doc --no-deps -p curl-sys --target $TARGET
Expand Down