-
Notifications
You must be signed in to change notification settings - Fork 40
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
MSYS2 / Build faild on libs not found when using "eine/setup-msys2@v1" action #25
Comments
Possible short answer: add Longer answer. In v0 with
Strictly, execution time difference is not related to this. With v0, almost all the preinstalled packages need to be removed and reinstalled, because the virtual environment is out of date. That's what takes 10 min. When using v1, even if you need to install the same packages, it takes much shorter (1-3 min). |
Hi @eine I'm the one that having this issue, thanks @BrightRan that report this problem. I'm gonna try this. Thanks ! |
Hi @goshiz! For reference, the packages that are installed by default in v0 but not in v1 are the following: https://github.com/actions/virtual-environments/blob/master/images/win/scripts/Installers/Install-Msys2.ps1#L56-L63 |
@eine , If I missed something, please tell me, thanks. |
Hi @BrightRan, on the one hand, https://github.com/ForksForTest/haven-offshore/actions/runs/133155318/workflow#L29-L31 feels strange. I'd add those packages to the |
@BrightRan, did you try v2 of this Action? |
Hey @eine yes I updated to v2 a few days ago. It's working fine but for an unknown reason now all my static build are not static anymore... |
no idea, sorry. I never do static builds. |
The link below is the workflow we tested with "eine/setup-msys2@v1" action.
https://github.com/ForksForTest/haven-offshore/actions/runs/131995709/workflow
After using the "eine/setup-msys2@v1" action to install some specified packages, in the "build Haven for windows x64" step, we always get the errors like as below from the logs:
But, when we switch to use "eine/setup-msys2@v0" action, everything is OK, see the link below.
https://github.com/ForksForTest/haven-offshore/actions/runs/131996395/workflow
You can see we did not changes anything except the version ref of the setup-msys2 action.
and I found that, when executing "eine/setup-msys2@v1", it only took less than 3 minutes, but "eine/setup-msys2@v0" took about 10 minutes with the settings.
I think there may be some issue on "eine/setup-msys2@v1" that cause some packages were not installed. This also can explain why it took a shot time to execute.
The text was updated successfully, but these errors were encountered: