2
2
mirror of https://github.com/octoleo/restic.git synced 2024-06-06 02:50:50 +00:00

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" echo "check changelog files"
calens calens
if: matrix.check_changelog 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: cross_compile:
env: env:
@ -208,6 +203,7 @@ jobs:
run: | run: |
go get github.com/mitchellh/gox 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 - name: Cross-compile with gox
env: env:
GOFLAGS: "-trimpath" 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()) 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{ var defaultBuildTargets = map[string][]string{
"aix": {"ppc64"}, "aix": {"ppc64"},
"darwin": {"amd64"}, "darwin": {"amd64"},