-
Notifications
You must be signed in to change notification settings - Fork 81
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
Git action recently failing on Windows #33
Comments
Hello @vidalt Kind regards, |
Oh, wow. that's great! @mrprajesh. I applied to PyHygese and it went well! https://github.com/chkwon/PyHygese/actions/runs/3716208100 |
Hello @mrprajesh, thanks! Reverting the action to "windows-2019" instead of "windows-latest" avoids the problem... but this also means that we can't currently run on the latest version of the Windows server used by Github: |
You are right, @vidalt. That's precisely what I tried but could not figure out. I agree -- This can only be a temporary fix.
I guess both windows 2022 and 2019 has same CMake 3.25. So, maybe the arguments passed to cmake.exe or something else. Initially, I thought it had something to do with the backslash or forward slash in file paths -- it seems that is not. The clue lies somewhere here. //Capturing screenshots as the logs may soon expire. |
//More info.
It seems they/GitHub know it is a breaking change: actions/runner-images#4856 Maybe we can wait till they fix the bug or file the bug & wait. |
When I checked, it was not the problem of the testing CMake modules. It was something about the compile step. Although it compiles well and produces the binary See: https://github.com/chkwon/HGS-CVRP/actions/runs/3742216144/jobs/6352865135#step:3:59 |
Included the windows 2019 option in the CI workflow as suggested by @mrprajesh in issue #33. Deactivated fail-safe option to avoid aborting tests on the other platforms. Kept the "windows-latest" option separate from "windows-2019" to keep track of the issue with the latest version of the window servers in Git actions.
Thanks a lot, @mrprajesh and @chkwon, for investigating this. Let's hope this type of compatibility issue will be fixed soon. For now, I added the windows-2019 to the CI integration script as suggested and deactivated fail fast (7686c2d), so we still have the tests running correctly on all other platforms. |
We encountered too many bugs using GCC provided by MinGW on the latest version of the Windows test server (#33), while GCC from Unix worked perfectly fine. To avoid such issues in the future and permit a broader range of tests on different compilers, we opted to rely on MSVC for Windows and modified the CI action accordingly. Thanks a lot @igormcoelho for tracking this bug!
Closed issue resolved with #36 |
For some reason, the git actions designed to test the code started failing recently after a commit that only involved the README.md (https://github.com/vidalt/HGS-CVRP/actions/runs/3420070648). As the considered update had no impact on the code, it seems that some configuration or upgrade in the way git actions run makes the experiment fail. So far, we know that only the Windows action fails (the others get automatically canceled as a consequence). @chkwon tested the code locally on Windows, and everything worked fine. I'm not personally an expert on Git actions and could not pinpoint so far where the issue is; anyone has a clue?
The text was updated successfully, but these errors were encountered: