#!/bin/sh # The native RISC-V check (oxygenflow#69): on narvi-1, a riscv64 board, # build oh natively and run it, so a release is known to work on real # RISC-V hardware, not only to cross-compile for it (dist does that). set -eu uname -m cargo build --release --locked -p oh oh=/src/target/release/oh "$oh" --version "$oh" --help >/dev/null "$oh" issue --help >/dev/null "$oh" run --help >/dev/null echo "oh works natively on $(uname -m)"