Skip to content

Simplify CI - #373

Merged
fuchsnj merged 4 commits into
mainfrom
fuchsnj/sdsp-488-ci-cleanup
Jul 27, 2026
Merged

Simplify CI#373
fuchsnj merged 4 commits into
mainfrom
fuchsnj/sdsp-488-ci-cleanup

Conversation

@fuchsnj

@fuchsnj fuchsnj commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Jira

This does some general CI cleanup. Mostly switching out some of the Rust feature testing for cargo hack to automatically test all features individually

@fuchsnj fuchsnj changed the title Simplify CI and verify Go FFI compatibility Simplify CI and test Go bindings Jul 24, 2026
@fuchsnj fuchsnj changed the title Simplify CI and test Go bindings Simplify single-crate Rust CI Jul 24, 2026
@fuchsnj
fuchsnj marked this pull request as ready for review July 24, 2026 19:22
@fuchsnj
fuchsnj requested a review from a team as a code owner July 24, 2026 19:22
@fuchsnj fuchsnj changed the title Simplify single-crate Rust CI Simplify CI Jul 24, 2026
Comment thread scripts/rust_checks.sh
Comment on lines +7 to +8
cargo hack check --each-feature --no-dev-deps
cargo hack clippy --each-feature --no-dev-deps -- -D warnings

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

curious how this works?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This basically just does a loop over all of the features and builds the library with each individual one. This will help prevent us from having to manually list the different features anytime it changes.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice that's neat!

Comment thread Makefile
build-sds-go: ## Build the sds-go lib (third-party active checkers included by default).
@echo "Building sds-go lib"
cargo build --manifest-path="sds/Cargo.toml" --release --features dd_sds_go
cd sds && cargo build --release --features dd_sds_go

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how is cd ... && better than using the manifest-path command arg?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not really. Just slightly shorter / easier to read. Should do the same thing

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok ok :)

@artslidd artslidd left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fuchsnj
fuchsnj merged commit 409c21e into main Jul 27, 2026
4 checks passed
@fuchsnj
fuchsnj deleted the fuchsnj/sdsp-488-ci-cleanup branch July 27, 2026 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants