This commit is contained in:
Leopere 2026-02-15 10:27:27 -05:00
parent 1bcdfb4023
commit 6e9813ae99
Signed by: colin
SSH Key Fingerprint: SHA256:nRPCQTeMFLdGytxRQmPVK9VXY3/ePKQ5lGRyJhT5DY8
2 changed files with 5 additions and 5 deletions

View File

@ -26,7 +26,7 @@ steps:
- cargo check --locked
- cargo test --locked
- cargo build --release --locked
- ls -lh target/release/camera-trng | cat || true
- ls -lh target/release/camera-qrng | cat || true
when:
branch: master
event: [push, pull_request, cron]
@ -43,7 +43,7 @@ steps:
- rustup target add x86_64-unknown-linux-gnu
- cargo build --release --locked --target x86_64-unknown-linux-gnu
- mkdir -p dist
- cp target/x86_64-unknown-linux-gnu/release/camera-trng dist/camera-trng-linux-x86_64
- cp target/x86_64-unknown-linux-gnu/release/camera-qrng dist/camera-trng-linux-x86_64
- chmod +x dist/camera-trng-linux-x86_64
- ls -lh dist/ | cat
- sha256sum dist/* | tee dist/checksums-x86_64.txt
@ -72,7 +72,7 @@ steps:
- export CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=aarch64-linux-gnu-gcc
- cargo build --release --locked --target aarch64-unknown-linux-gnu || echo "aarch64 cross-compile failed (expected due to native deps)"
- mkdir -p dist
- cp target/aarch64-unknown-linux-gnu/release/camera-trng dist/camera-trng-linux-aarch64 2>/dev/null || echo "aarch64 binary not available"
- cp target/aarch64-unknown-linux-gnu/release/camera-qrng dist/camera-trng-linux-aarch64 2>/dev/null || echo "aarch64 binary not available"
- ls -lh dist/ | cat || true
when:
branch: master

View File

@ -33,9 +33,9 @@ cargo build --release
## Run
```bash
./target/release/camera-trng
./target/release/camera-qrng
# Or set a custom port
PORT=9000 ./target/release/camera-trng
PORT=9000 ./target/release/camera-qrng
Use the camera at **max resolution** (and highest frame rate):
```bash