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

Possible enhancements to ci.yml #590

Closed
eine opened this issue Jun 6, 2020 · 3 comments
Closed

Possible enhancements to ci.yml #590

eine opened this issue Jun 6, 2020 · 3 comments

Comments

@eine
Copy link

eine commented Jun 6, 2020

@daviwil, you might want to consider some of the following enhancements to .github/workflows/ci.yml:

@daviwil
Copy link
Contributor

daviwil commented Jun 6, 2020

@eine Thanks for the tips! I do want to switch over to using msys2 as the shell. I didn't know about the default setting, that's helpful!

For fetch-depth: 0, Gambit's makefile relies on having Git tags available for part of the build so I had to go a different route to ensure that the tags were getting fetched correctly. In the past I wasn't able to use fetch-depth: 0 because it didn't pull tags, but I see now that they added it thanks to the issue you linked: actions/checkout#250 (comment).

Regarding path-type: inherit, I think I ran into issues if I didn't use that back when I was using numworks/setup-msys2 but I'll try removing it now just in case it isn't needed any longer.

@eine
Copy link
Author

eine commented Jun 6, 2020

@eine Thanks for the tips! I do want to switch over to using msys2 as the shell. I didn't know about the default setting, that's helpful!

In fact, I found about it just a few days ago 😆

For fetch-depth: 0, Gambit's makefile relies on having Git tags available for part of the build so I had to go a different route to ensure that the tags were getting fetched correctly. In the past I wasn't able to use fetch-depth: 0 because it didn't pull tags, but I see now that they added it thanks to the issue you linked: actions/checkout#250 (comment).

I was using unshallow for the same reason and I changed it precisely when it was fixed in the issue I linked.

Regarding path-type: inherit, I think I ran into issues if I didn't use that back when I was using numworks/setup-msys2 but I'll try removing it now just in case it isn't needed any longer.

I see that you are using it for MINGW and for MVSC. That might be the source of the issue: for MVSC I'd expect you to need tools from the host. However, for MINGW all the compilers and libs should be available within the environment.

@daviwil
Copy link
Contributor

daviwil commented Jun 8, 2020

Thanks again for the pointers @eine! Looks like PR #591 got merged so you can probably close this now (unfortunately I don't have the ability to do so!).

@eine eine closed this as completed Jun 8, 2020
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

No branches or pull requests

2 participants