-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'simelo/v0.25dev' into stdevAlDen_t34_ha…
…rdware-wallet_tests Conflicts: Makefile ref #34
- Loading branch information
Showing
10 changed files
with
239 additions
and
152 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
ARG QEMU_PLATFORM | ||
FROM balenalib/${QEMU_PLATFORM}-debian-golang | ||
|
||
ARG GITHUB_OAUTH_TOKEN | ||
ARG PROJECT_USERNAME | ||
ARG PROJECT_REPONAME | ||
ARG SHA1 | ||
ADD . $GOPATH/src/github.com/skycoin/libskycoin/ | ||
|
||
RUN [ "cross-build-start" ] | ||
|
||
RUN ls -oa $GOPATH/src/github.com/skycoin/libskycoin/ | ||
RUN sh $GOPATH/src/github.com/skycoin/libskycoin/ci-scripts/docker_install_debian.sh | ||
RUN make -C $GOPATH/src/github.com/skycoin/libskycoin dep | ||
RUN go get github.com/gz-c/gox | ||
RUN go get -t ./... | ||
ENV CGO_ENABLED=1 | ||
RUN export VERSION="$(git describe --tags --exact-match HEAD 2> /dev/null)" | ||
RUN export ARCH="$(uname -m)" | ||
RUN export OS="$(uname -s)" | ||
RUN make -C $GOPATH/src/github.com/skycoin/libskycoin build | ||
RUN tar -c -z -f libskycoin-${VERSION}-${OS}-${ARCH}.tar.gz -C $GOPATH/src/github.com/skycoin/libskycoin/build $GOPATH/src/github.com/skycoin/libskycoin/build/* | ||
RUN go get github.com/tcnksm/ghr | ||
RUN ghr -t ${GITHUB_OAUTH_TOKEN} -u ${PROJECT_USERNAME} -r ${PROJECT_REPONAME} -c ${SHA1} -delete ${VERSION} libskycoin-${VERSION}-${OS}-${ARCH}.tar.gz | ||
|
||
RUN [ "cross-build-end" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.