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

restore simpler Windows CI #738

Merged
merged 1 commit into from
Oct 24, 2023
Merged

restore simpler Windows CI #738

merged 1 commit into from
Oct 24, 2023

Conversation

mflatt
Copy link
Contributor

@mflatt mflatt commented Oct 21, 2023

Mostly reverts 01b5bb6, but also changes "/c" to "//c" uses MSYS_NO_PATHCONV=1 --- which seems to be the right repair to the original problem based on the way Windows bash variants treat arguments that start with /.

@@ -2,8 +2,7 @@
set -e -o pipefail
export ZUO_JOBS="$(getconf _NPROCESSORS_ONLN)"
if test "$TOOLCHAIN" = vs ; then
# cmd.exe /c "build.bat $TARGET_MACHINE"
echo assuming built previously
cmd.exe //c "build.bat $TARGET_MACHINE"
Copy link
Contributor

Choose a reason for hiding this comment

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

Try MSYS_NO_PATHCONV=1 cmd.exe /c build.bat $TARGET_MACHINE

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks — I see how that can be better. Change pushed.

Mostly reverts 01b5bb6, but also adds `MSYS_NO_PATHCONV=1` to solve
the original problem, which is that Windows `bash` may treat arguments
that start with `/` specially unless `MSYS_NO_PATHCONV` is set.
@burgerrg burgerrg merged commit 149ff6d into cisco:main Oct 24, 2023
13 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.

2 participants