Merge #1218
1218: ci: use cargo cross for armv7 build r=delta1 a=delta1 armv7 builds have started failing, presumably due to some change in the CI runners. this change updates the CI to use `cargo cross` for more reliable cross compilation example failure: https://github.com/comit-network/xmr-btc-swap/actions/runs/3496339850/jobs/5855083680 ``` error: failed to run custom build command for `ring v0.16.20` Caused by: process didn't exit successfully: `/home/runner/work/xmr-btc-swap/xmr-btc-swap/target/debug/build/ring-3b88841cfec2d8d7/build-script-build` (exit status: 101) --- stdout OPT_LEVEL = Some("0") TARGET = Some("armv7-unknown-linux-gnueabihf") HOST = Some("x86_64-unknown-linux-gnu") CC_armv7-unknown-linux-gnueabihf = None CC_armv7_unknown_linux_gnueabihf = None TARGET_CC = None CC = None CROSS_COMPILE = None CFLAGS_armv7-unknown-linux-gnueabihf = None CFLAGS_armv7_unknown_linux_gnueabihf = None TARGET_CFLAGS = None CFLAGS = None CRATE_CC_NO_DEFAULTS = None DEBUG = Some("true") CARGO_CFG_TARGET_FEATURE = None --- stderr running "arm-linux-gnueabihf-gcc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-march=armv7-a" "-I" "include" "-Wall" "-Wextra" "-pedantic" "-pedantic-errors" "-Wall" "-Wextra" "-Wcast-align" "-Wcast-qual" "-Wconversion" "-Wenum-compare" "-Wfloat-equal" "-Wformat=2" "-Winline" "-Winvalid-pch" "-Wmissing-field-initializers" "-Wmissing-include-dirs" "-Wredundant-decls" "-Wshadow" "-Wsign-compare" "-Wsign-conversion" "-Wundef" "-Wuninitialized" "-Wwrite-strings" "-fno-strict-aliasing" "-fvisibility=hidden" "-fstack-protector" "-g3" "-DNDEBUG" "-c" "-o/home/runner/work/xmr-btc-swap/xmr-btc-swap/target/armv7-unknown-linux-gnueabihf/debug/build/ring-34b63fa28ccdbd48/out/aesv8-armx-linux32.o" "/home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/ring-0.16.20/pregenerated/aesv8-armx-linux32.S" cc1: error: ‘-mfloat-abi=hard’: selected architecture lacks an FPU thread 'main' panicked at 'execution failed', /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/ring-0.16.20/build.rs:656:9 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace warning: build failed, waiting for other jobs to finish... Error: Process completed with exit code 101. ``` Co-authored-by: Byron Hambly <bhambly@blockstream.com>pull/1219/head^2
commit
0e242110bd
Loading…
Reference in New Issue