mirror of
https://github.com/restic/restic.git
synced 2026-07-06 07:15:10 +00:00
Add hints for keeping the list of architectures in sync
This commit is contained in:
@@ -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"},
|
||||||
|
|||||||
Reference in New Issue
Block a user