mmtk / mmtk-core

Memory Management ToolKit
https://www.mmtk.io
Other
379 stars 69 forks source link

Use host toolchain and explicit target in CI script #1109

Closed wks closed 7 months ago

wks commented 7 months ago

This fixes a problem of installing i686 toolchain on an x86_64 host when running "Minimal tests - mmtk-core" on GitHub CI. Instead, we use the x86_64 toolchain, but add the i686 target and force all cargo commands to use that target using the CARGO_BUILD_TARGET environment variable.

Fixes: https://github.com/mmtk/mmtk-core/issues/1107