mirror of
https://git.envs.net/envs/ifconfig
synced 2024-11-22 09:51:57 +01:00
(*)fixed cross build
This commit is contained in:
parent
a3ec3d0077
commit
4c5bf57011
@ -38,6 +38,7 @@ function go-all {
|
||||
for PLATFORM in $PLATFORMS; do
|
||||
GOOS=${PLATFORM%/*}
|
||||
GOARCH=${PLATFORM#*/}
|
||||
GOARM=6
|
||||
CMD="go-${GOOS}-${GOARCH} $@"
|
||||
echo "$CMD"
|
||||
$CMD || FAILURES="$FAILURES $PLATFORM"
|
||||
|
@ -56,17 +56,15 @@ go_install()
|
||||
tar xz -C ${TMPDIR-/tmp}
|
||||
export GOROOT=${TMPDIR-/tmp}/go
|
||||
export PATH=${TMPDIR-/tmp}/go/bin/:$PATH
|
||||
wget https://raw.githubusercontent.com/davecheney/golang-crosscompile/master/crosscompile.bash
|
||||
#wget https://raw.githubusercontent.com/davecheney/golang-crosscompile/master/crosscompile.bash
|
||||
source ./crosscompile.bash
|
||||
go-crosscompile-build-all
|
||||
}
|
||||
|
||||
go_run()
|
||||
{
|
||||
cd $GOPATH
|
||||
go-build-all
|
||||
ls
|
||||
cd "${TRAVIS_BUILD_DIR}";
|
||||
go-build-all
|
||||
}
|
||||
|
||||
prebuilt_prepare()
|
||||
|
Loading…
Reference in New Issue
Block a user