From aeb0ac9a329a253baf516be6ecfbdc4a750c6df6 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sat, 3 Oct 2026 15:51:56 +0900 Subject: internal/workflows: cache installed packages This avoids re-downloading packages on every run. Signed-off-by: Ophestra --- internal/workflows/test.go | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'internal/workflows/test.go') diff --git a/internal/workflows/test.go b/internal/workflows/test.go index d3290f16..40e1a076 100644 --- a/internal/workflows/test.go +++ b/internal/workflows/test.go @@ -59,11 +59,7 @@ var _ = (&Workflow{ fixup, checkout, toolchain, - - { - Name: "install fuse and fs_mark", - Run: "apt-get update && apt-get install -y fuse3 fsmark", - }, + newPackages(0, "fuse3", "fsmark"), newCIRequest("distribution", "dist -o result", "dist"), install, @@ -82,12 +78,7 @@ var _ = (&Workflow{ "setuid=1023,setgid=1023 /sdcard", }, - { - Name: "Compile and run test suite", - Run: "sharefs -V && rm -rf result && " + - "go run -tags=testsuite ./test/sharefs ubuntu", - }, - + newTestsuite("sharefs", "sharefs -V && "), newUploadArtifact("test output", "fs_mark"), }, }}, -- cgit v1.3.1