@@ -200,24 +200,19 @@ func doInstall(cmdline []string) {
200200 staticlink = flag .Bool ("static" , false , "Create statically-linked executable" )
201201 )
202202 flag .CommandLine .Parse (cmdline )
203- env := build .Env ()
204203
205204 // Configure the toolchain.
206205 tc := build.GoToolchain {GOARCH : * arch , CC : * cc }
207206 if * dlgo {
208207 csdb := build .MustLoadChecksums ("build/checksums.txt" )
209208 tc .Root = build .DownloadGo (csdb , dlgoVersion )
210209 }
211-
212- // Disable CLI markdown doc generation in release builds.
213- buildTags := []string {"urfave_cli_no_docs" }
214-
215- // Enable linking the CKZG library since we can make it work with additional flags.
216- if env .UbuntuVersion != "trusty" {
217- buildTags = append (buildTags , "ckzg" )
218- }
210+ // Disable CLI markdown doc generation in release builds and enable linking
211+ // the CKZG library since we can make it portable here.
212+ buildTags := []string {"urfave_cli_no_docs" , "ckzg" }
219213
220214 // Configure the build.
215+ env := build .Env ()
221216 gobuild := tc .Go ("build" , buildFlags (env , * staticlink , buildTags )... )
222217
223218 // arm64 CI builders are memory-constrained and can't handle concurrent builds,
@@ -303,14 +298,10 @@ func doTest(cmdline []string) {
303298 csdb := build .MustLoadChecksums ("build/checksums.txt" )
304299 tc .Root = build .DownloadGo (csdb , dlgoVersion )
305300 }
306- gotest := tc .Go ("test" )
307-
301+ gotest := tc .Go ("test" , "-tags=ckzg" )
308302 // CI needs a bit more time for the statetests (default 10m).
309303 gotest .Args = append (gotest .Args , "-timeout=20m" )
310304
311- // Enable CKZG backend in CI.
312- gotest .Args = append (gotest .Args , "-tags=ckzg" )
313-
314305 // Test a single package at a time. CI builders are slow
315306 // and some tests run into timeouts under load.
316307 gotest .Args = append (gotest .Args , "-p" , "1" )
0 commit comments