Skip to content

Commit

Permalink
Hardcode build cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
pappz committed Sep 13, 2023
1 parent 75cc354 commit 8872e9a
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/android-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,10 @@ jobs:
key: ndk-cache-23.1.7779620
- name: Setup NDK
run: /usr/local/lib/android/sdk/tools/bin/sdkmanager --install "ndk;23.1.7779620"
- name: Checkout netbird repository
uses: actions/checkout@v3
with:
repository: netbirdio/react-native-app.git
ref: main
path: react-native-app
- name: install gomobile
run: go install golang.org/x/mobile/cmd/[email protected]
- name: build android nebtird lib
run: PATH=$PATH:$(go env GOPATH)/bin bash -x build-android-lib.sh $GITHUB_WORKSPACE/react-native-app
run: PATH=$PATH:$(go env GOPATH) gomobile bind -o $GITHUB_WORKSPACE/netbird.aar -javapkg=io.netbird.gomobile -ldflags="-X golang.zx2c4.com/wireguard/ipc.socketDirectory=/data/data/io.netbird.client/cache/wireguard -X github.com/netbirdio/netbird/version.version=buildtest" $GITHUB_WORKSPACE/netbird/client/android
env:
CGO_ENABLED: 0
ANDROID_NDK_HOME: /usr/local/lib/android/sdk/ndk/23.1.7779620

0 comments on commit 8872e9a

Please sign in to comment.