Add hints for keeping the list of architectures in sync

This commit is contained in:
Alexander Neumann 2021-01-01 10:09:04 +01:00
parent 8b84c96d9d
commit e8abc79ce9
2 changed files with 2 additions and 5 deletions

View File

@ -182,11 +182,6 @@ jobs:
echo "check changelog files"
calens
if: matrix.check_changelog
# debug with tmate
# - name: Run apt-get for tmate action
# run: sudo apt-get update
# - name: Debugging with tmate
# uses: mxschmitt/action-tmate@v1.0.1
cross_compile:
env:
@ -208,6 +203,7 @@ jobs:
run: |
go get github.com/mitchellh/gox
# ATTENTION: the list of architectures must be in sync with helpers/build-release-binaries/main.go!
- name: Cross-compile with gox
env:
GOFLAGS: "-trimpath"

View File

@ -221,6 +221,7 @@ func buildTargets(sourceDir, outputDir string, targets map[string][]string) {
msg("build finished in %.3fs", time.Since(start).Seconds())
}
// ATTENTION: the list of architectures must be in sync with .github/workflows/tests.yml!
var defaultBuildTargets = map[string][]string{
"aix": {"ppc64"},
"darwin": {"amd64"},