-
-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
10 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,14 +4,17 @@ jobs: | |
docker: | ||
- image: blixtwallet/blixtwallet:latest | ||
steps: | ||
- run: go get golang.org/x/tools/cmd/goimports | ||
- run: go get golang.org/x/tools/go/packages | ||
- run: go get golang.org/x/tools/cmd/goimports | ||
- run: go get golang.org/x/mobile/cmd/gomobile | ||
- run: gomobile init | ||
- run: go get -u -v github.com/lightninglabs/falafel | ||
- run: GO111MODULE=on go get github.com/golang/protobuf/[email protected] | ||
- run: GO111MODULE=on go get github.com/grpc-ecosystem/grpc-gateway/[email protected] | ||
- run: GO111MODULE=on go get github.com/grpc-ecosystem/grpc-gateway/[email protected] | ||
- run: GO111MODULE=on go get -u -v github.com/lightninglabs/falafel | ||
- run: go get -d github.com/lightningnetwork/lnd | ||
- run: cd $GOPATH/src/github.com/lightninglabs/falafel && git checkout v0.7 && go install | ||
- run: cd $GOPATH/src/github.com/lightningnetwork/lnd && git checkout v0.10.2-beta && sed -i 's/use_prefix="0"/use_prefix="1"/g' mobile/gen_bindings.sh && make android tags="routerrpc walletrpc signrpc invoicesrpc" | ||
- run: cd $GOPATH/src/github.com/lightningnetwork/lnd | ||
- run: cd $GOPATH/src/github.com/lightningnetwork/lnd && git checkout v0.12.0-beta && sed -i 's/use_prefix="0"/use_prefix="1"/g' mobile/gen_bindings.sh && make android tags="routerrpc walletrpc signrpc invoicesrpc" | ||
- persist_to_workspace: | ||
root: /go/src/github.com/lightningnetwork/lnd | ||
paths: | ||
|
@@ -28,9 +31,9 @@ jobs: | |
- run: git submodule update --init | ||
- run: yarn build-tor-lib | ||
- run: yarn gen-proto | ||
- run: yarn test | ||
# - run: yarn test | ||
# Compile a bundled dev build https://stackoverflow.com/a/56520746 | ||
- run: ./node_modules/.bin/react-native bundle --platform android --dev false --entry-file index.ts --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res/ | ||
- run: ./node_modules/.bin/react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res/ | ||
- run: cd android && ./gradlew assembleChainmainnetNormalDebug && ./gradlew assembleChaintestnetNormalDebug | ||
- store_artifacts: | ||
path: android/app/build/outputs | ||
|
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