forked from TrueCloudLab/restic
Add hints for keeping the list of architectures in sync
This commit is contained in:
parent
8b84c96d9d
commit
e8abc79ce9
2 changed files with 2 additions and 5 deletions
6
.github/workflows/tests.yml
vendored
6
.github/workflows/tests.yml
vendored
|
@ -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"
|
||||||
|
|
|
@ -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"},
|
||||||
|
|
Loading…
Reference in a new issue