Skip to content

Commit 48387d4

Browse files
committed
CI: Install Android NDK r23c explicitly
It has just been removed from the Ubuntu 20.04 default install, breaking our CI setup.
1 parent 7cd79e4 commit 48387d4

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
platform: android
6666
artifact-name: godot-cpp-android-arm64-release
6767
artifact-path: bin/libgodot-cpp.android.template_release.arm64.a
68-
flags: ANDROID_NDK_ROOT=$ANDROID_NDK_LATEST_HOME arch=arm64
68+
flags: arch=arm64
6969
run-tests: false
7070
cache-name: android-arm64
7171

@@ -108,11 +108,13 @@ jobs:
108108
with:
109109
python-version: '3.x'
110110

111-
- name: Linux dependencies
112-
if: ${{ matrix.platform == 'linux' }}
113-
run: |
114-
sudo apt-get update -qq
115-
sudo apt-get install -qqq build-essential pkg-config
111+
- name: Android dependencies
112+
if: ${{ matrix.platform == 'android' }}
113+
uses: nttld/setup-ndk@v1
114+
with:
115+
ndk-version: r23c
116+
link-to-sdk: true
117+
local-cache: true
116118

117119
- name: Web dependencies
118120
if: ${{ matrix.platform == 'web' }}
@@ -121,16 +123,16 @@ jobs:
121123
version: ${{env.EM_VERSION}}
122124
actions-cache-folder: ${{env.EM_CACHE_FOLDER}}
123125

124-
- name: Install scons
125-
run: |
126-
python -m pip install scons==4.0.0
127-
128126
- name: Setup MinGW for Windows/MinGW build
129127
if: ${{ matrix.platform == 'windows' && matrix.flags == 'use_mingw=yes' }}
130128
uses: egor-tensin/setup-mingw@v2
131129
with:
132130
version: 12.2.0
133131

132+
- name: Install scons
133+
run: |
134+
python -m pip install scons==4.0.0
135+
134136
- name: Generate godot-cpp sources only
135137
run: |
136138
scons platform=${{ matrix.platform }} build_library=no ${{ matrix.flags }}

0 commit comments

Comments
 (0)