-
-
Notifications
You must be signed in to change notification settings - Fork 536
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 'upstream/main' into feature/ipv6-networ…
…k-support
- Loading branch information
Showing
216 changed files
with
12,837 additions
and
3,497 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 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 |
---|---|---|
|
@@ -11,7 +11,7 @@ concurrency: | |
cancel-in-progress: true | ||
|
||
jobs: | ||
andrloid_build: | ||
android_build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
|
@@ -38,10 +38,10 @@ jobs: | |
- name: Setup NDK | ||
run: /usr/local/lib/android/sdk/cmdline-tools/7.0/bin/sdkmanager --install "ndk;23.1.7779620" | ||
- name: install gomobile | ||
run: go install golang.org/x/mobile/cmd/[email protected]20230531173138-3c911d8e3eda | ||
run: go install golang.org/x/mobile/cmd/[email protected]20240404231514-09dbf07665ed | ||
- name: gomobile init | ||
run: gomobile init | ||
- name: build android nebtird lib | ||
- name: build android netbird lib | ||
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/client/android | ||
env: | ||
CGO_ENABLED: 0 | ||
|
@@ -56,10 +56,10 @@ jobs: | |
with: | ||
go-version: "1.21.x" | ||
- name: install gomobile | ||
run: go install golang.org/x/mobile/cmd/[email protected]20230531173138-3c911d8e3eda | ||
run: go install golang.org/x/mobile/cmd/[email protected]20240404231514-09dbf07665ed | ||
- name: gomobile init | ||
run: gomobile init | ||
- name: build iOS nebtird lib | ||
run: PATH=$PATH:$(go env GOPATH) gomobile bind -target=ios -bundleid=io.netbird.framework -ldflags="-X github.com/netbirdio/netbird/version.version=buildtest" -o $GITHUB_WORKSPACE/NetBirdSDK.xcframework $GITHUB_WORKSPACE/client/ios/NetBirdSDK | ||
- name: build iOS netbird lib | ||
run: PATH=$PATH:$(go env GOPATH) gomobile bind -target=ios -bundleid=io.netbird.framework -ldflags="-X github.com/netbirdio/netbird/version.version=buildtest" -o ./NetBirdSDK.xcframework ./client/ios/NetBirdSDK | ||
env: | ||
CGO_ENABLED: 0 |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
FROM alpine:3.18.5 | ||
RUN apk add --no-cache ca-certificates iptables ip6tables | ||
ENV NB_FOREGROUND_MODE=true | ||
ENTRYPOINT [ "/go/bin/netbird","up"] | ||
COPY netbird /go/bin/netbird | ||
ENTRYPOINT [ "/usr/local/bin/netbird","up"] | ||
COPY netbird /usr/local/bin/netbird |
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.