File tree Expand file tree Collapse file tree 2 files changed +8
-11
lines changed Expand file tree Collapse file tree 2 files changed +8
-11
lines changed Original file line number Diff line number Diff line change @@ -15,27 +15,24 @@ jobs:
15
15
strategy :
16
16
fail-fast : false
17
17
matrix :
18
- image :
19
- - r22
20
18
platform :
19
+ - android-26
21
20
- android-27
22
- - android-29
23
21
abi :
24
22
- armeabi-v7a
25
23
- arm64-v8a
26
24
build_type : [Debug, Release]
27
25
28
26
runs-on : ubuntu-latest
29
27
30
- container :
31
- image : bojoe/cpp-android-ndk-build-env-ubuntu:${{ matrix.image }}
32
- options : --user root
33
-
34
28
steps :
35
- - uses : actions/checkout@v3
29
+ - name : Install Ninja
30
+ run : sudo apt-get install ninja-build
31
+
32
+ - uses : actions/checkout@v4
36
33
with :
37
34
submodules : recursive
38
35
39
- - run : cmake -H$GITHUB_WORKSPACE -B/home/developer /build -GNinja -DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK_HOME/build/cmake/android.toolchain.cmake -DANDROID_ABI=${{ matrix.abi }} -DANDROID_PLATFORM=${{ matrix.platform }} -DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
36
+ - run : cmake -H$GITHUB_WORKSPACE -B$GITHUB_WORKSPACE /build -GNinja -DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK_HOME/build/cmake/android.toolchain.cmake -DANDROID_ABI=${{ matrix.abi }} -DANDROID_PLATFORM=${{ matrix.platform }} -DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
40
37
41
- - run : cmake --build /home/developer /build
38
+ - run : cmake --build $GITHUB_WORKSPACE /build
Original file line number Diff line number Diff line change 1
- cmake_minimum_required (VERSION 3.8...3.19 )
1
+ cmake_minimum_required (VERSION 3.8 )
2
2
3
3
project (taocpp-json VERSION 1.0.0 LANGUAGES CXX )
4
4
You can’t perform that action at this time.
0 commit comments