This repository was archived by the owner on Sep 9, 2020. It is now read-only.
File tree 3 files changed +6
-3
lines changed
3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -100,6 +100,8 @@ jobs:
100
100
- release/dep-linux-ppc64.sha256
101
101
- release/dep-linux-ppc64le
102
102
- release/dep-linux-ppc64le.sha256
103
+ - release/dep-linux-s390x
104
+ - release/dep-linux-s390x.sha256
103
105
skip_cleanup : true
104
106
on :
105
107
repo : golang/dep
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ if [[ -z "${DEP_BUILD_PLATFORMS}" ]]; then
31
31
fi
32
32
33
33
if [[ -z " ${DEP_BUILD_ARCHS} " ]]; then
34
- DEP_BUILD_ARCHS=" amd64 386 ppc64 ppc64le"
34
+ DEP_BUILD_ARCHS=" amd64 386 ppc64 ppc64le s390x "
35
35
fi
36
36
37
37
mkdir -p " ${DEP_ROOT} /release"
@@ -50,8 +50,8 @@ for OS in ${DEP_BUILD_PLATFORMS[@]}; do
50
50
else
51
51
CGO_ENABLED=0
52
52
fi
53
- if [[ " ${ARCH} " == " ppc64" || " ${ARCH} " == " ppc64le" ]] && [[ " ${OS} " != " linux" ]]; then
54
- # ppc64 and ppc64le are only supported on Linux.
53
+ if [[ " ${ARCH} " == " ppc64" || " ${ARCH} " == " ppc64le" || " ${ARCH} " == " s390x " ]] && [[ " ${OS} " != " linux" ]]; then
54
+ # ppc64, ppc64le, and s390x are only supported on Linux.
55
55
echo " Building for ${OS} /${ARCH} not supported."
56
56
else
57
57
echo " Building for ${OS} /${ARCH} with CGO_ENABLED=${CGO_ENABLED} "
Original file line number Diff line number Diff line change @@ -96,6 +96,7 @@ initArch() {
96
96
i386) ARCH=" 386" ;;
97
97
ppc64) ARCH=" ppc64" ;;
98
98
ppc64le) ARCH=" ppc64le" ;;
99
+ s390x) ARCH=" s390x" ;;
99
100
* ) echo " Architecture ${ARCH} is not supported by this installation script" ; exit 1;;
100
101
esac
101
102
echo " ARCH = $ARCH "
You can’t perform that action at this time.
0 commit comments