mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-30 15:15:07 +03:00
Try harder to build x86 :-)
This commit is contained in:
parent
88653861c7
commit
f8fdb63b0b
2 changed files with 6 additions and 4 deletions
|
@ -14,8 +14,8 @@ install:
|
||||||
build_script:
|
build_script:
|
||||||
- cmd: >-
|
- cmd: >-
|
||||||
cd \projects\yggdrasil-go
|
cd \projects\yggdrasil-go
|
||||||
- c:\msys64\usr\bin\bash -lc "./contrib/msi/build-msi.sh x64"
|
c:\msys64\usr\bin\bash -lc "./contrib/msi/build-msi.sh x64"
|
||||||
- c:\msys64\usr\bin\bash -lc "./contrib/msi/build-msi.sh x86"
|
c:\msys64\usr\bin\bash -lc "./contrib/msi/build-msi.sh x86"
|
||||||
|
|
||||||
test: off
|
test: off
|
||||||
|
|
||||||
|
|
|
@ -36,8 +36,10 @@ then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check the prerequisite files are in place
|
# Check the prerequisite files are in place
|
||||||
[ "${PKGARCH}" == "x64" ] && GOARCH=amd64 CGO_ENABLED=0 ./build || \
|
(
|
||||||
[ "${PKGARCH}" == "x86" ] && GOARCH=386 CGO_ENABLED=0 ./build || \
|
[ "${PKGARCH}" == "x64" ] && GOOS=windows GOARCH=amd64 CGO_ENABLED=0 ./build
|
||||||
|
[ "${PKGARCH}" == "x86" ] && GOOS=windows GOARCH=386 CGO_ENABLED=0 ./build
|
||||||
|
) || \
|
||||||
(
|
(
|
||||||
echo "failed to build Yggdrasil"
|
echo "failed to build Yggdrasil"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue