internal/rosa/make: split build and check
All checks were successful
Test / Create distribution (push) Successful in 59s
Test / Sandbox (push) Successful in 2m41s
Test / Hakurei (push) Successful in 3m53s
Test / ShareFS (push) Successful in 3m57s
Test / Hpkg (push) Successful in 4m28s
Test / Sandbox (race detector) (push) Successful in 5m5s
Test / Hakurei (race detector) (push) Successful in 6m9s
Test / Flake checks (push) Successful in 2m26s

Doing these together breaks far too many buggy makefiles.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-03-01 12:11:41 +09:00
parent 1d0fcf3a75
commit 51d3df2419
19 changed files with 119 additions and 145 deletions

View File

@@ -13,24 +13,24 @@ func (t Toolchain) newOpenSSL() pkg.Artifact {
mustDecode(checksum),
pkg.TarGzip,
), &MakeAttr{
OmitDefaults: true,
SkipConfigure: true,
OmitDefaults: true,
Env: []string{
"CC=cc",
},
ScriptConfigured: `
/usr/src/openssl/Configure \
--prefix=/system \
--libdir=lib \
--openssldir=etc/ssl
`,
CheckName: "test",
Make: []string{
ConfigureName: "/usr/src/openssl/Configure",
Configure: [][2]string{
{"prefix", "/system"},
{"libdir", "lib"},
{"openssldir", "etc/ssl"},
},
Check: []string{
`HARNESS_JOBS="$(expr "$(nproc)" '*' 2)"`,
"test",
},
},
t.Load(Perl),
t.Load(Coreutils),
t.Load(Zlib),
t.Load(KernelHeaders),