Skip to content

Conversation

@DoctorLambda
Copy link

./ci.sh Compatibility Warning
Configuration Update: I have preserved the original ci.sh script but added shell: bash to the workflow configuration to ensure it executes correctly on Windows runners (which default to PowerShell).

Potential Risk: Please be aware that using bash on Windows does not emulate a full Linux environment. If ci.sh contains Linux-specific commands (e.g., apt-get) or absolute paths (e.g., /etc/...), the Windows job will fail.

Safe Execution: If the script strictly executes platform-agnostic commands—such as cargo fmt, cargo clippy, and cargo test—it will run successfully across all platforms.

./ci.sh Compatibility Warning
Configuration Update: I have preserved the original ci.sh script but added shell: bash to the workflow configuration to ensure it executes correctly on Windows runners (which default to PowerShell).

Potential Risk: Please be aware that using bash on Windows does not emulate a full Linux environment. If ci.sh contains Linux-specific commands (e.g., apt-get) or absolute paths (e.g., /etc/...), the Windows job will fail.

Safe Execution: If the script strictly executes platform-agnostic commands—such as cargo fmt, cargo clippy, and cargo test—it will run successfully across all platforms.
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.

1 participant