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

Windows CI failing since 2023/11/15 #12

Closed
traversaro opened this issue Nov 15, 2023 · 3 comments · Fixed by #13
Closed

Windows CI failing since 2023/11/15 #12

traversaro opened this issue Nov 15, 2023 · 3 comments · Fixed by #13

Comments

@traversaro
Copy link
Contributor

Last successful build: https://github.com/ami-iit/onnx-cpp-benchmark/actions/runs/6858310310/job/18648845494
First failing build: https://github.com/ami-iit/onnx-cpp-benchmark/actions/runs/6872051989/job/18698893038

It fails with:

D:\a\_temp\c4468d0a-44bf-4f2e-9a4b-9e12273e9b6d.sh: line 2: pixi: command not found
D:\a\_temp\c4468d0a-44bf-4f2e-9a4b-9e12273e9b6d.sh: line 4: pixi: command not found
D:\a\_temp\c4468d0a-44bf-4f2e-9a4b-9e12273e9b6d.sh: line 5: pixi: command not found

Perhaps something changed recently in the install script? The latest modification seem prefix-dev/pixi#449 by @ruben-arts, but I could not find anything wrong there.

@ruben-arts
Copy link

This is indeed moved in that pr. I'm not sure why you needed this line:

"$env:LOCALAPPDATA\pixi\bin" >> $env:GITHUB_PATH

But that should now link $Env:USERPROFILE\.pixi\bin to that github path I guess.
The script should add it to the $PATH variable, is that different from the GITHUB_PATH?

@traversaro
Copy link
Contributor Author

Thanks @ruben-arts, and sorry for the noise, I completely forgot that part. Indeed, GitHub Actions modification to the PATH are not propagated between different steps, and the .bashrc or similar is not reloaded for new steps. So that is the reason for the workaround. However, at this point I can just switch to use the setup-pixi action.

@traversaro
Copy link
Contributor Author

Fixed by #13 .

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 a pull request may close this issue.

2 participants