File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525
2626 - name : Install liboqs dependencies
2727 run : sudo apt-get update && sudo apt-get install -y astyle cmake gcc ninja-build libssl-dev python3-pytest python3-pytest-xdist unzip xsltproc doxygen graphviz python3-yaml valgrind
28+
29+ - name : Set up Go
30+ uses : actions/setup-go@v3
31+ with :
32+ go-version : 1.19
33+
34+ - name : Install Gomobile
35+ run : |
36+ go install golang.org/x/mobile/cmd/gomobile@latest
37+ go install golang.org/x/mobile/cmd/gobind@latest
38+ gomobile init
39+
40+ - name : Build V2Ray
41+ run : ./v2ray/build.sh
2842
2943 - name : Set up JDK 17
3044 uses : actions/setup-java@v3
Original file line number Diff line number Diff line change 3535
3636 - name : Checkout submodules
3737 run : git submodule update --init --recursive
38+
39+ - name : Set up Go
40+ uses : actions/setup-go@v3
41+ with :
42+ go-version : 1.19
43+
44+ - name : Install Gomobile
45+ run : |
46+ go install golang.org/x/mobile/cmd/gomobile@latest
47+ go install golang.org/x/mobile/cmd/gobind@latest
48+ gomobile init
49+
50+ - name : Build V2Ray
51+ run : ./v2ray/build.sh
3852
3953 - name : Set up JDK 17
4054 uses : actions/setup-java@v3
Original file line number Diff line number Diff line change @@ -16,5 +16,5 @@ go get golang.org/x/mobile/cmd/gomobile
1616echo " => Build Android library.."
1717OUT_AAR=../libs/V2RayControl.aar
1818gomobile init &&
19- gomobile bind -trimpath -ldflags " -s -w" -target=android -o ${OUT_AAR}
20- echo " => Android build completed (out: ${OUT_AAR} )"
19+ gomobile bind -trimpath -ldflags " -s -w" -target=android -androidapi 21 - o ${OUT_AAR}
20+ # echo "=> Android build completed (out: ${OUT_AAR})"
You can’t perform that action at this time.
0 commit comments