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
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:
@@ -29,8 +29,6 @@ echo 'print STDOUT "1..0 # Skip broken test\n";' > ext/Pod-Html/t/htmldir3.t
|
||||
rm -f /system/bin/ps # perl does not like toybox ps
|
||||
`,
|
||||
ConfigureName: "./Configure",
|
||||
Host: `""`,
|
||||
Build: `""`,
|
||||
Configure: [][2]string{
|
||||
{"-des"},
|
||||
{"Dprefix", "/system"},
|
||||
@@ -40,7 +38,10 @@ rm -f /system/bin/ps # perl does not like toybox ps
|
||||
{"Doptimize", "'-O2 -fno-strict-aliasing'"},
|
||||
{"Duseithreads"},
|
||||
},
|
||||
CheckName: "TEST_JOBS=256 test_harness",
|
||||
Check: []string{
|
||||
"TEST_JOBS=256",
|
||||
"test_harness",
|
||||
},
|
||||
ScriptInstall: "./perl -Ilib -I. installperl --destdir=/work",
|
||||
|
||||
Flag: TEarly,
|
||||
@@ -95,16 +96,18 @@ func (t Toolchain) newViaPerlMakeMaker(
|
||||
return t.NewViaMake("perl-"+name, version, t.NewPatchedSource(
|
||||
"perl-"+name, version, source, false, patches...,
|
||||
), &MakeAttr{
|
||||
Writable: true,
|
||||
OmitDefaults: true,
|
||||
SkipConfigure: true,
|
||||
InPlace: true,
|
||||
Writable: true,
|
||||
OmitDefaults: true,
|
||||
InPlace: true,
|
||||
|
||||
ScriptEarly: `
|
||||
cd /usr/src/perl-` + name + `
|
||||
perl Makefile.PL PREFIX=/system
|
||||
`,
|
||||
CheckName: "test",
|
||||
ConfigureName: "perl Makefile.PL",
|
||||
Configure: [][2]string{
|
||||
{"PREFIX", "/system"},
|
||||
},
|
||||
Check: []string{"test"},
|
||||
}, slices.Concat(extra, []pkg.Artifact{
|
||||
t.Load(Perl),
|
||||
})...)
|
||||
|
||||
Reference in New Issue
Block a user