diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-09-30 19:20:03 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-09-30 19:20:03 +0900 |
| commit | 0536c9729c30f25d82f1b1284976ba284d596779 (patch) | |
| tree | db5e57482ca0000b1c079190cf2e5d356b43f448 /internal/workflows/test.go | |
| parent | 815f40c944281ca9a9a68aa612336b13098958c1 (diff) | |
internal/workflows: request dist via cmd/mbfwip-ci
This replaces the nix-based dist step.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/workflows/test.go')
| -rw-r--r-- | internal/workflows/test.go | 22 |
1 files changed, 5 insertions, 17 deletions
diff --git a/internal/workflows/test.go b/internal/workflows/test.go index a6a2abc9..0a3065ea 100644 --- a/internal/workflows/test.go +++ b/internal/workflows/test.go @@ -89,26 +89,14 @@ var _ = (&Workflow{ {K: "dist", V: Job{ Name: "Create distribution", - On: "nix", + On: "rosa", Steps: []Step{ - checkout, - - { - Name: "Build for test", - ID: "build-test", - Run: "export HAKUREI_REV=\"$(git rev-parse --short HEAD)\" && " + - "sed -i.old " + - "'s/version = /version = \"0.0.0-'$HAKUREI_REV'\"; # version = /' " + - "test/package.nix && " + - "nix build --print-out-paths --print-build-logs ./test#dist && " + - "mv test/{package.nix.old,package.nix} && " + - "echo \"rev=$HAKUREI_REV\" >> $GITHUB_OUTPUT", - }, - + clone, + newCIRequest("distribution", "dist -o result", "dist-test"), newUploadArtifact( - "test build", - "hakurei-${{ steps.build-test.outputs.rev }}", + "distribution", + "hakurei-${{ steps.dist-test.outputs.version }}", ), }, }}, |
