From 19f36491f2e2a5029ac396c10408d653cad6c81b Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 6 Oct 2026 22:09:47 +0900 Subject: 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 --- internal/workflows/step.go | 2 +- internal/workflows/test.go | 26 ++------------------------ 2 files changed, 3 insertions(+), 25 deletions(-) (limited to 'internal/workflows') 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", -- cgit v1.3.1