Skip to content

Fix Solaris CI after solaris-vm was updated to CBE release 11.4.81 #2643

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

Merged
merged 1 commit into from
Jun 17, 2025

Conversation

psumbera
Copy link
Contributor

@psumbera psumbera commented Jun 16, 2025

Fixes the issue mentioned in #2642

New Solaris CBE release 11.4.81 comes with updated version of sudo.

@@ -396,7 +396,7 @@ jobs:
uname -a
run: |
export PATH=$HOME/.rust_solaris/bin:$PATH
cargo build --target x86_64-pc-solaris --all-targets --all-features && sudo cargo test
cargo build --target x86_64-pc-solaris --all-targets --all-features && sudo env PATH=$PATH cargo test
Copy link
Member

Choose a reason for hiding this comment

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

This looks like exactly what sudo --preserve-env=PATH is for. Does solaris's sudo have that option?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This looks like exactly what sudo --preserve-env=PATH is for. Does solaris's sudo have that option?

It does. But I think it needs to be enabled somewhere in configuration. Which doesn't seem to be the case.

Copy link
Member

@SteveLauC SteveLauC left a comment

Choose a reason for hiding this comment

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

Thanks!

@SteveLauC SteveLauC merged commit befe95e into nix-rust:master Jun 17, 2025
33 of 39 checks passed
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.

3 participants