2026-09-30 00:15:32 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
# The one verification command. Run it on Linux with the Windows GNU std installed
|
|
|
|
|
# (the Eureka verify image has both); a Windows workstation proves nothing.
|
2026-09-30 00:58:19 +02:00
|
|
|
# The Windows check runs first: it is fast, and a hung test cannot mask it.
|
2026-09-30 00:15:32 +02:00
|
|
|
# --lib because the tests under tests/ assume the host layout.
|
2026-09-30 06:25:57 +02:00
|
|
|
# The Windows --lib --tests check keeps unix-only test code from leaking out of its cfg.
|
2026-09-30 00:15:32 +02:00
|
|
|
set -euo pipefail
|
|
|
|
|
cargo check --locked --target x86_64-pc-windows-gnu --bin idunn-host
|
2026-09-30 06:25:57 +02:00
|
|
|
cargo check --locked --target x86_64-pc-windows-gnu --lib --tests
|
2026-09-30 00:58:19 +02:00
|
|
|
cargo test --locked --lib
|