Using Rtools40v2 to test bindings on Windows
#56
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This fixes #53.
Rtools40v2 has been recently released.
It includes our hack to please rust compiler and resolves
gcclinking issue.libR-syscan now be safely tested using Rtools only (no dependence onmsys2is required for pre-computed bindings).However, the
setup-raction currently have a bug that does not allow installing other versions of Rtools40 even if the version string is explicitly specified (see my issue here r-lib/actions#289).There is also a PR to make the new version default (r-lib/actions#287), which will not work until the issue is resolved.
I suggest to leave this PR as a draft for now. As soon as
setup-rgets updated, we will remove the relevant code (marked with comments in the.yaml) and will finally have a working setup:https://github.com/Ilia-Kosenkov/libR-sys/blob/a55515f4a999adfa4535aaed57112e3a233864ef/.github/workflows/test.yml#L215-L227