aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/workflows/test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/workflows/test.go')
-rw-r--r--internal/workflows/test.go45
1 files changed, 33 insertions, 12 deletions
diff --git a/internal/workflows/test.go b/internal/workflows/test.go
index 723cf463..c81574ea 100644
--- a/internal/workflows/test.go
+++ b/internal/workflows/test.go
@@ -8,7 +8,7 @@ var _ = (&Workflow{
Jobs: Map[Job]{
{"hakurei", Job{
- Name: "Hakurei",
+ Name: "Hakurei (legacy)",
On: "nix",
Steps: []Step{
@@ -19,7 +19,7 @@ var _ = (&Workflow{
}},
{"race", Job{
- Name: "Hakurei (race detector)",
+ Name: "Hakurei (legacy with race instrument)",
On: "nix",
Steps: []Step{
@@ -31,23 +31,46 @@ var _ = (&Workflow{
{"sandbox", Job{
Name: "Sandbox",
- On: "nix",
+ On: "rosa",
Steps: []Step{
+ fixup,
checkout,
- newNixOSTest("sandbox"),
- newUploadArtifact("test output", "sandbox-vm-output"),
+ toolchain,
+ newPackages(0, []string{"ppa:savoury1/pipewire"},
+ "libmount-dev",
+ "sway",
+ "xwayland",
+ "xdg-dbus-proxy",
+ "pipewire",
+ ),
+
+ newCIRequest("distribution", "dist -o result", "dist"),
+ install,
+ newTestsuite("sandbox", ""),
},
}},
{"sandbox-race", Job{
- Name: "Sandbox (race detector)",
- On: "nix",
+ Name: "Sandbox (with race instrument)",
+ On: "rosa",
Steps: []Step{
+ fixup,
checkout,
- newNixOSTest("sandbox-race"),
- newUploadArtifact("test output", "sandbox-race-vm-output"),
+ toolchain,
+
+ newPackages(0, []string{"ppa:savoury1/pipewire"},
+ "libmount-dev",
+ "sway",
+ "xwayland",
+ "xdg-dbus-proxy",
+ "pipewire",
+ ),
+
+ newCIRequest("distribution", "race -o result", "dist"),
+ install,
+ newTestsuite("sandbox", ""),
},
}},
@@ -59,7 +82,7 @@ var _ = (&Workflow{
fixup,
checkout,
toolchain,
- newPackages(0, "fuse3", "fsmark"),
+ newPackages(0, nil, "fuse3", "fsmark"),
newCIRequest("distribution", "dist -o result", "dist"),
install,
@@ -90,8 +113,6 @@ var _ = (&Workflow{
Needs: []string{
"hakurei",
"race",
- "sandbox",
- "sandbox-race",
},
Steps: []Step{