diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-11-01 00:28:47 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-11-01 00:28:47 +0900 |
| commit | aaeefb7be7a6b59810be514d6c40159f40761f0d (patch) | |
| tree | da562f44eeb25adf837d0bfccaaf7bfc02d56cdf /internal/rosa/package/hakurei.az | |
| parent | 6b88f9afb9f8cd6312e0313e51e23d35dc23310b (diff) | |
internal/rosa: enable checks for cross-compilation
This uses QEMU to run checks when supported.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/package/hakurei.az')
| -rw-r--r-- | internal/rosa/package/hakurei.az | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/internal/rosa/package/hakurei.az b/internal/rosa/package/hakurei.az index 14faef32..1a7e953f 100644 --- a/internal/rosa/package/hakurei.az +++ b/internal/rosa/package/hakurei.az @@ -53,11 +53,14 @@ GOARCH='`+arch+`' CGO_ENABLED=0 go build -trimpath -tags=rosa -o /work`+prefix+` -buildid= -X main.hakureiPath=`+prefix+`/bin/hakurei " ./cmd/hsu`; - check = ` + check = arch { + default = ` echo echo '##### Testing hakurei.' go test -ldflags='-buildid= -linkmode external -extldflags=-static' ./... echo`; + cross = unset; + }; install = ` mkdir -p /work`+prefix+`/bin/ (cd /work`+prefix+`/libexec/hakurei && mv \ |
