Skip to content

Commit 5d09b3f

Browse files
authored
Merge pull request #15 from saschpe/android-35
Add Android API 35
2 parents efc4ed5 + 7626352 commit 5d09b3f

File tree

4 files changed

+18
-14
lines changed

4 files changed

+18
-14
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ jobs:
2626
strategy:
2727
max-parallel: 3
2828
matrix:
29-
jdk: [ 17.0.10_7, 21.0.2_13, 22.0.1_8 ]
30-
android: [ 32, 33, 34 ]
31-
ndk: [ 25.2.9519653, 26.3.11579264 ]
29+
jdk: [ 17.0.12_7, 21.0.4_7, 22.0.2_9 ]
30+
android: [ 34, 35 ]
31+
ndk: [ 26.3.11579264, 27.0.12077973 ]
3232
cmake: [ 3.22.1 ]
3333
steps:
3434
- name: Checkout

Dockerfile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,18 @@
1010
# $ ./scripts/build --android 34 --jdk 22.0.1_8 --ndk 25.2.9519653 --cmake 3.22.1
1111
#
1212

13-
ARG jdk=22.0.1_8
14-
ARG android=34
13+
ARG jdk=22.0.2_9
14+
ARG android=35
1515

1616
FROM saschpe/android-sdk:${android}-jdk${jdk}
17+
ARG android
1718
ARG cmake=3.22.1
18-
ARG ndk=26.2.11394342
19+
ARG jdk
20+
ARG ndk=27.0.12077973
1921
LABEL maintainer="Sascha Peilicke <[email protected]"
2022
LABEL description="Android NDK ${ndk} with CMake ${cmake} on SDK ${android} using JDK ${jdk}"
2123

22-
ENV NDK_ROOT "${ANDROID_SDK_ROOT}/ndk/${ndk}"
24+
ENV NDK_ROOT="${ANDROID_SDK_ROOT}/ndk/${ndk}"
2325
RUN sdkmanager --install \
2426
"cmake;${cmake}" \
2527
"ndk;${ndk}"

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,14 @@ available:
1515

1616
| | 11 | 17 | 21 | 22 |
1717
|----|----|----|----|----|
18-
| 31 ||| | |
19-
| 32 |||||
20-
| 33 |||||
21-
| 34 |||||
22-
23-
* Android NDK versions: __25.2.9519653__ and __26.2.11394342__
18+
| 31 ||| | |
19+
| 32 |||||
20+
| 33 |||||
21+
| 34 |||||
22+
| 35 | ||||
23+
24+
* Android 35 image NDK versions: __26.2.11394342__ and __27.0.12077973__
25+
* Older Android image NDK versions: __25.2.9519653__ and __26.2.11394342__
2426
* CMake version: __3.22.1__
2527

2628
## Usage

scripts/build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ else
8383
approve "Build image '${image_tag}'"
8484
fi
8585

86-
safe docker buildx build \
86+
safe docker build \
8787
--platform "${platforms}" \
8888
${buildx_command} \
8989
--build-arg android="${android}" \

0 commit comments

Comments
 (0)