aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/workflows
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-10-06 22:09:47 +0900
committerOphestra <cat@gensokyo.uk>2026-10-06 22:15:54 +0900
commit19f36491f2e2a5029ac396c10408d653cad6c81b (patch)
tree929829580b2a588f24eccc698f1827c050e941ac /internal/workflows
parentd5d2c23d5a489bba6be8a75ad4c5d1ac3cda4bb6 (diff)
test: remove obsolete code
Nix stuff is being removed, most of the flake.nix stuff is no longer used by anything, so remove them here. This change also replaces a hardcoded gcc command. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/workflows')
-rw-r--r--internal/workflows/step.go2
-rw-r--r--internal/workflows/test.go26
2 files changed, 3 insertions, 25 deletions
diff --git a/internal/workflows/step.go b/internal/workflows/step.go
index eaf8986d..93d515ae 100644
--- a/internal/workflows/step.go
+++ b/internal/workflows/step.go
@@ -95,6 +95,6 @@ func newNixOSTest(name string) Step {
"--out-link result " +
"--print-out-paths " +
"--print-build-logs " +
- "./test#checks.x86_64-linux." + name,
+ "./test/hakurei#checks.x86_64-linux." + name,
}
}
diff --git a/internal/workflows/test.go b/internal/workflows/test.go
index c81574ea..bd74511c 100644
--- a/internal/workflows/test.go
+++ b/internal/workflows/test.go
@@ -7,7 +7,7 @@ var _ = (&Workflow{
On: []any{"push"},
Jobs: Map[Job]{
- {"hakurei", Job{
+ {"hakurei-legacy", Job{
Name: "Hakurei (legacy)",
On: "nix",
@@ -18,7 +18,7 @@ var _ = (&Workflow{
},
}},
- {"race", Job{
+ {"hakurei-race-legacy", Job{
Name: "Hakurei (legacy with race instrument)",
On: "nix",
@@ -106,28 +106,6 @@ var _ = (&Workflow{
},
}},
- {"check", Job{
- Name: "Flake checks",
- On: "nix",
-
- Needs: []string{
- "hakurei",
- "race",
- },
-
- Steps: []Step{
- checkout,
-
- {
- Name: "Run checks",
- Run: "nix " +
- "--print-build-logs " +
- "--experimental-features 'nix-command flakes' " +
- "flake check ./test",
- },
- },
- }},
-
{"dist", Job{
Name: "Create distribution",
On: "rosa",