build-number
duration-label: 12m 38s
started-label-colon: time-days-ago
Build Windows ARM64 with cargo instead of cross
needsCrossCompile had same-OS cases for apple and linux but not windows, so an
x86_64 Windows host targeting aarch64-pc-windows-msvc fell through to the
`host !== target` catch-all and picked cross, failing with "Failed to spawn
'cross': entity not found". Installing cross on the Windows agents would not
have helped: it drives Linux Docker images and has no MSVC support at all.
Windows ARM64 cross-compiles natively via the ARM64 MSVC tools, which the
agents already have.
Generalise the per-OS cases into an osFamily helper (android checked first,
since its triples also match linux) so same-OS/different-arch consistently
means cargo, and replace the catch-all with explicit routing. Combinations
with no working toolchain, such as an Apple target from a non-Apple host, now
throw up front rather than dispatching to a tool that cannot service them and
failing later with a confusing error.
jobs-heading
divvun-actions cidivvun-actions ci
ran-in▶
lib-build-x86_64-unknown-linux-gnu./x build-lib --target x86_64-unknown-linux-gnu
mkdir -p lib...
ran-in▶
build-aarch64-pc-windows-msvcuv venv --python 3.12; uv pip install pyyaml setuptools; $en...
ran-in▶
build-x86_64-unknown-linux-gnu./x build --target x86_64-unknown-linux-gnu
mv target/x86_64...
ran-in▶
build-x86_64-pc-windows-msvcuv venv --python 3.12; uv pip install pyyaml setuptools; $en...
ran-in▶
lib-build-x86_64-pc-windows-msvcuv venv --python 3.12; uv pip install pyyaml setuptools; $en...
ran-in▶
lib-build-aarch64-pc-windows-msvcuv venv --python 3.12; uv pip install pyyaml setuptools; $en...
ran-in▶
build-x86_64-pc-windows-msvcuv venv --python 3.12; uv pip install pyyaml setuptools; $en...
ran-in▶
build-aarch64-pc-windows-msvcuv venv --python 3.12; uv pip install pyyaml setuptools; $en...
ran-in▶
lib-build-aarch64-pc-windows-msvcuv venv --python 3.12; uv pip install pyyaml setuptools; $en...
ran-in▶
lib-build-x86_64-pc-windows-msvcuv venv --python 3.12; uv pip install pyyaml setuptools; $en...
ran-in▶
aarch64-apple-darwin - Build./x build --target aarch64-apple-darwin
mv target/aarch64-ap...
ran-in▶
lib-build-aarch64-apple-darwin./x build-lib --target aarch64-apple-darwin
mkdir -p libdivv...
ran-in▶
aarch64-apple-darwin - Signecho '--- Downloading unsigned binary'
buildkite-agent artif...
not-started▶
Publish (Dev)divvun-actions run divvun-runtime-publish
not-started▶