Curated articles, resources, tips and trends from the DevOps World.
Summary: This is a summary of an article originally published by AWS DevOps Blog. Read the full original article here →
By using a AWS CodeBuild batch build, we can run builds for a Go application targeted at multiple platforms concurrently. Cross-compiling Go binaries for different platforms is as simple as setting two environment variables $GOOS and $GOARCH, regardless of the build’s host platform.
This post demonstrates how to create a single AWS CodeBuild project by using a batch build and a single build spec to create concurrent builds for the six targeted platforms. Learn more about batch builds in AWS CodeBuild in the documentation: Batch builds in AWS CodeBuild
To avoid incurring future charges, delete the resources: This post utilized CodeBuild batch builds to build and package binaries for multiple platforms concurrently.
Made with pure grit © 2024 Jetpack Labs Inc. All rights reserved. www.jetpacklabs.com