Using Rtools40v2 to test bindings on Windows#56
Using Rtools40v2 to test bindings on Windows#56Ilia-Kosenkov merged 11 commits intoextendr:masterfrom
Rtools40v2 to test bindings on Windows#56Conversation
|
So Rtools40v2 was pushed to chocolatey and other places, and Windows images here got updated as well. Note that in this scenario, we use the default Rust toolchain for Windows, |
* Enabling CI on dev branch * Disable unmodified jobs * Removed rtools hack * Explicit rtools40v2 * Removing system rtools installation * Handling no base rtools installation * Testing with reset cashe * Reversing back * Removing debug infrastructure * Comments * Switching to new rtools version
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