Skip to content

Commit

Permalink
Do not use XGO to build ARM64 target
Browse files Browse the repository at this point in the history
  • Loading branch information
zolia committed Feb 24, 2020
1 parent 72d5b04 commit 51b4927
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions ci/packages/package.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,14 @@ func PackageLinuxDebianArm64() error {
if err := goGet("github.com/debber/debber-v0.3/cmd/debber"); err != nil {
return err
}
if err := sh.RunV("bin/build_xgo", "linux/arm64"); err != nil {
envi := map[string]string{
"GOOS": "linux",
"GOARCH": "arm64",
}
if err := sh.RunWith(envi, "bin/build"); err != nil {
return err
}
if err := packageDebian("build/myst/myst_linux_arm64", "arm64"); err != nil {
if err := packageDebian("build/myst/myst", "arm64"); err != nil {
return err
}
return env.IfRelease(storage.UploadArtifacts)
Expand Down

0 comments on commit 51b4927

Please sign in to comment.