OXYGENHUB
◆ api-unknown-fields oxygenhub / .flow / riscv64-check.sh
440 B · Bourne Again Shell (bash) · executable · last changed A native RISC-V check on narvi-1: oh built and run on riscv64 16 days ago source blame history raw
021f36a6 Andy McCall ↶ 1
#!/bin/sh
2
# The native RISC-V check (oxygenflow#69): on narvi-1, a riscv64 board,
3
# build oh natively and run it, so a release is known to work on real
4
# RISC-V hardware, not only to cross-compile for it (dist does that).
5
set -eu
6
uname -m
7
cargo build --release --locked -p oh
8
oh=/src/target/release/oh
9
"$oh" --version
10
"$oh" --help >/dev/null
11
"$oh" issue --help >/dev/null
12
"$oh" run --help >/dev/null
13
echo "oh works natively on $(uname -m)"