Skip to content

Commit c596d72

Browse files
authored
Update the ndk version to 21e (#350)
* Update the ndk version to match the cpp repo * Update print_matrix_configuration.py
1 parent 704bc54 commit c596d72

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

.github/workflows/android.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ jobs:
6868
id: cache_ndk
6969
uses: actions/cache@v2
7070
with:
71-
path: /tmp/android-ndk-r16b
72-
key: android-ndk-${{ matrix.os }}-r16b
71+
path: /tmp/android-ndk-r21e
72+
key: android-ndk-${{ matrix.os }}-r21e
7373

7474
- name: Install Unity installer (U3D)
7575
shell: bash

.github/workflows/build_android.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ jobs:
8787
id: cache_ndk
8888
uses: actions/cache@v2
8989
with:
90-
path: /tmp/android-ndk-r16b
91-
key: android-ndk-${{ matrix.os }}-r16b
90+
path: /tmp/android-ndk-r21e
91+
key: android-ndk-${{ matrix.os }}-r21e
9292

9393
- name: Install Unity installer (U3D)
9494
shell: bash

scripts/gha/print_matrix_configuration.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,12 @@
8383
_WINDOWS: {
8484
"version": "2020.3.34f1",
8585
"packages": {"Default": ["Unity"], "Android": ["Android"], "iOS": ["Ios"], "Windows": None, "macOS": ["Mac-mono"], "Linux": ["Linux-mono"]},
86-
"ndk": "https://dl.google.com/android/repository/android-ndk-r19-windows-x86_64.zip"
86+
"ndk": "https://dl.google.com/android/repository/android-ndk-r21e-windows-x86_64.zip"
8787
},
8888
_MACOS: {
8989
"version": "2020.3.34f1",
9090
"packages": {"Default": ["Unity"], "Android": ["Android"], "iOS": ["Ios"], "Windows": ["Windows-mono"], "macOS": None, "Linux": ["Linux-mono"]},
91-
"ndk": "https://dl.google.com/android/repository/android-ndk-r19-darwin-x86_64.zip"
91+
"ndk": "https://dl.google.com/android/repository/android-ndk-r21e-darwin-x86_64.zip"
9292
},
9393
_LINUX: {
9494
"version": "2020.3.29f1",
@@ -99,12 +99,12 @@
9999
_WINDOWS: {
100100
"version": "2019.4.39f1",
101101
"packages": {"Default": ["Unity"], "Android": ["Android"], "iOS": ["Ios"], "Windows": None, "macOS": ["Mac-mono"], "Linux": ["Linux-mono"]},
102-
"ndk": "https://dl.google.com/android/repository/android-ndk-r19-windows-x86_64.zip"
102+
"ndk": "https://dl.google.com/android/repository/android-ndk-r21e-windows-x86_64.zip"
103103
},
104104
_MACOS: {
105105
"version": "2019.4.39f1",
106106
"packages": {"Default": ["Unity"], "Android": ["Android"], "iOS": ["Ios"], "Windows": ["Windows-mono"], "macOS": None, "Linux": ["Linux-mono"]},
107-
"ndk": "https://dl.google.com/android/repository/android-ndk-r19-darwin-x86_64.zip"
107+
"ndk": "https://dl.google.com/android/repository/android-ndk-r21e-darwin-x86_64.zip"
108108
},
109109
_LINUX: {
110110
"version": "2019.4.39f1",
@@ -115,12 +115,12 @@
115115
_WINDOWS: {
116116
"version": "2018.4.36f1",
117117
"packages": {"Default": ["Unity"], "Android": ["Android"], "iOS": ["Ios"], "Windows": ["Windows-il2cpp"], "macOS": ["Mac-mono"], "Linux": ["Linux"]},
118-
"ndk": "https://dl.google.com/android/repository/android-ndk-r16b-windows-x86_64.zip"
118+
"ndk": "https://dl.google.com/android/repository/android-ndk-r21e-windows-x86_64.zip"
119119
},
120120
_MACOS: {
121121
"version": "2018.4.36f1",
122122
"packages": {"Default": ["Unity"], "Android": ["Android"], "iOS": ["Ios"], "Windows": ["Windows-mono"], "macOS": ["Mac-il2cpp"], "Linux": ["Linux"]},
123-
"ndk": "https://dl.google.com/android/repository/android-ndk-r16b-darwin-x86_64.zip"
123+
"ndk": "https://dl.google.com/android/repository/android-ndk-r21e-darwin-x86_64.zip"
124124
},
125125
_LINUX: {
126126
"version": "2018.3.0f2",

0 commit comments

Comments
 (0)