You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
garble/testdata/scripts
Daniel Martí 29ea99fc5f CI: test on GOARCH=386
Note that this cross-compilation disables cgo by default,
and so the cgo.txt test script isn't run on GOARCH=386.
That seems fine for now, as the test isn't arch-specific.

This testing uncovered one build failure in internal/literals;
the comparison between int and math.MaxUint32 is invalid on 32-bit.
To fix that build failure, use int64 consistently.

One test also incorrectly assumed amd64; it now supports 386 too.
For any other architecture, it's being skipped for now.

I also had to increase the -race test timeout,
as it usually takes 8-9m on GitHub Actions,
and the timeout would sometimes trigger.

Finally, use "go env" rather than "go version" on CI,
which gives us much more useful information,
and also includes Go's own version now via GOVERSION.

Fixes #426.
4 years ago
..
asm.txt CI: test on GOARCH=386 4 years ago
basic.txt deprecate using GOPRIVATE in favor of GOGARBLE (#427) 4 years ago
cgo.txt CI: test on GOARCH=386 4 years ago
crossbuild.txt deprecate using GOPRIVATE in favor of GOGARBLE (#427) 4 years ago
debugdir.txt deprecate using GOPRIVATE in favor of GOGARBLE (#427) 4 years ago
embed.txt deprecate using GOPRIVATE in favor of GOGARBLE (#427) 4 years ago
gogarble.txt ensure the runtime is built in a reproducible way 4 years ago
goversion.txt drop support for Go 1.16.x 4 years ago
help.txt give a useful error for "garble build -tiny" 4 years ago
implement.txt deprecate using GOPRIVATE in favor of GOGARBLE (#427) 4 years ago
imports.txt deprecate using GOPRIVATE in favor of GOGARBLE (#427) 4 years ago
init.txt drop support for Go 1.16.x 4 years ago
ldflags.txt deprecate using GOPRIVATE in favor of GOGARBLE (#427) 4 years ago
linkname.txt deprecate using GOPRIVATE in favor of GOGARBLE (#427) 4 years ago
literals.txt ensure the runtime is built in a reproducible way 4 years ago
modinfo.txt testdata: adjust for newer Go 1.18 tip version 4 years ago
plugin.txt deprecate using GOPRIVATE in favor of GOGARBLE (#427) 4 years ago
position.txt deprecate using GOPRIVATE in favor of GOGARBLE (#427) 4 years ago
reflect.txt deprecate using GOPRIVATE in favor of GOGARBLE (#427) 4 years ago
reverse.txt deprecate using GOPRIVATE in favor of GOGARBLE (#427) 4 years ago
runtime-related.txt Obfuscate more packages of the standard library (#312) 4 years ago
seed.txt deprecate using GOPRIVATE in favor of GOGARBLE (#427) 4 years ago
syntax.txt deprecate using GOPRIVATE in favor of GOGARBLE (#427) 4 years ago
test.txt drop support for Go 1.16.x 4 years ago
tiny.txt deprecate using GOPRIVATE in favor of GOGARBLE (#427) 4 years ago