Closed anthonydahanne closed 1 year ago
It seems like the strategy used here to generate multiple binaries for multiple platforms is to rely on the OS default toolchain:
strategy: matrix: include: - os: macos-latest target: x86_64-apple-darwin suffix: '' - os: ubuntu-latest target: x86_64-unknown-linux-gnu suffix: '' - os: windows-latest target: x86_64-pc-windows-msvc suffix: .exe
Unfortunately, this approach is limited by the number of OSes/ platform supported by the default provided runners by GH.
We could envision adding self hosted runner, but for a single project, that seems overkill.
I believe the long term solution is to rely on on rust toolchains https://rust-lang.github.io/rustup/cross-compilation.html
toolchains
somebody did that there: https://gist.github.com/Tehnix/5209b8fefd368bfdb67ca8761d3b8009#file-ci-yml-L85
This is done now, see the latest release.
It seems like the strategy used here to generate multiple binaries for multiple platforms is to rely on the OS default toolchain:
Unfortunately, this approach is limited by the number of OSes/ platform supported by the default provided runners by GH.
We could envision adding self hosted runner, but for a single project, that seems overkill.
I believe the long term solution is to rely on on rust
toolchains
https://rust-lang.github.io/rustup/cross-compilation.html