aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/workflows/test.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-10-01 13:47:26 +0900
committerOphestra <cat@gensokyo.uk>2026-10-01 13:53:14 +0900
commit3be6a3f79aa5871a1d0ec701f367966dcf8e1a36 (patch)
tree4768cbc44301dc119b060095cbe97fbabcdd1166 /internal/workflows/test.go
parent0d90eb44ac23052e79d42d7520520ebc0f2d2247 (diff)
internal/workflows: request dist via cmd/mbf
This replaces the nix-based dist job. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/workflows/test.go')
-rw-r--r--internal/workflows/test.go21
1 files changed, 5 insertions, 16 deletions
diff --git a/internal/workflows/test.go b/internal/workflows/test.go
index a6a2abc9..9ccea1dc 100644
--- a/internal/workflows/test.go
+++ b/internal/workflows/test.go
@@ -89,26 +89,15 @@ var _ = (&Workflow{
{K: "dist", V: Job{
Name: "Create distribution",
- On: "nix",
+ On: "rosa",
Steps: []Step{
+ fixup,
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",
- },
-
+ newCIRequest("distribution", "dist -o result", "dist-test"),
newUploadArtifact(
- "test build",
- "hakurei-${{ steps.build-test.outputs.rev }}",
+ "distribution",
+ "hakurei-${{ steps.dist-test.outputs.rev }}",
),
},
}},