@@ -36,35 +36,46 @@ jobs:
36
36
xcodebuild -workspace builds/xcode/ApkDiffPatch.xcworkspace -scheme ZipDiff -configuration Release OBJROOT=$PWD/bin SYMROOT=$PWD/bin
37
37
xcodebuild -workspace builds/xcode/ApkDiffPatch.xcworkspace -scheme ZipPatch -configuration Release OBJROOT=$PWD/bin SYMROOT=$PWD/bin
38
38
39
- ndk-build :
40
- strategy :
41
- matrix :
42
- platform : [macos-latest, windows-latest]
43
- runs-on : ${{ matrix.platform }}
39
+
40
+ macos-ndk-build :
41
+ runs-on : macos-latest
42
+ steps :
43
+ - uses : actions/checkout@v2
44
+
45
+ with :
46
+ ndk-version : r23c
47
+ - name : buildByAndroidNDK
48
+ run : |
49
+ git submodule update --init --recursive
50
+ cd ./builds/android_ndk_jni_mk
51
+ ndk-build NDK_PROJECT_PATH=. NDK_APPLICATION_MK=./Application.mk APP_PLATFORM=android-16 APP_STL=c++_static
52
+
53
+ windows-ndk-build :
54
+ runs-on : windows-latest
44
55
steps :
45
56
- uses : actions/checkout@v2
46
- - uses : nttld/setup-ndk@v1.0.6
57
+ - uses : nttld/setup-ndk@v1.5.0
47
58
with :
48
59
ndk-version : r16b
49
60
- name : buildByAndroidNDK
50
61
run : |
51
62
git submodule update --init --recursive
52
63
cd ./builds/android_ndk_jni_mk
53
- ndk-build NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=./Android.mk NDK_APPLICATION_MK=./Application.mk
64
+ ndk-build NDK_PROJECT_PATH=. NDK_APPLICATION_MK=./Application.mk
54
65
55
66
ubuntu-ndk-build :
56
67
runs-on : ubuntu-latest
57
68
steps :
58
69
- uses : actions/checkout@v2
59
- - uses : nttld/setup-ndk@v1.0.6
70
+ - uses : nttld/setup-ndk@v1.5.0
60
71
with :
61
72
ndk-version : r16b
62
73
- name : buildByAndroidNDK
63
74
run : |
64
75
sudo apt install libncurses5
65
76
git submodule update --init --recursive
66
77
cd ./builds/android_ndk_jni_mk
67
- ndk-build NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=./Android.mk NDK_APPLICATION_MK=./Application.mk
78
+ ndk-build NDK_PROJECT_PATH=. NDK_APPLICATION_MK=./Application.mk
68
79
69
80
70
81
vc-build :
0 commit comments