File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -269,6 +269,9 @@ jobs:
269269 with :
270270 persist-credentials : false
271271 - uses : dtolnay/rust-toolchain@stable
272+ - uses : dtolnay/rust-toolchain@stable
273+ with :
274+ target : aarch64-unknown-linux-gnu
272275 - uses : taiki-e/install-action@nextest
273276 - uses : Swatinem/rust-cache@v2
274277 - name : Install/setup prerequisites
@@ -287,7 +290,10 @@ jobs:
287290 if [[ -d target ]]; then
288291 mv -T target target.cache
289292 fi
290- # Actually do the build
293+ # Minimal cross-built with native uudoc
294+ make UTILS=true RUSTC_ARCH="--target aarch64-unknown-linux-gnu"
295+ ./target/debug/uudoc manpage
296+ # build (host)
291297 make build
292298 echo "Check that target directory will be ignored by backup tools"
293299 test -f target/CACHEDIR.TAG
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ RM := rm -rf
2727# Binaries
2828CARGO ?= cargo
2929CARGOFLAGS ?=
30- RUSTC_ARCH ?= # should be empty instead of -- target $(shell rustc -vV | sed -n 's/host: //p') to share crates ar target dir
30+ RUSTC_ARCH ?= # should be empty except for cross-build, not -- target $(shell rustc -vV | sed -n 's/host: //p')
3131
3232# Install directories
3333PREFIX ?= /usr/local
You can’t perform that action at this time.
0 commit comments