Skip to content

Commit 6f0b4a7

Browse files
authored
Merge branch 'kivy:develop' into firebase
2 parents 6d19602 + 87a32be commit 6f0b4a7

23 files changed

Lines changed: 390 additions & 328 deletions

File tree

.github/workflows/push.yml

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,9 @@ jobs:
110110
continue-on-error: true
111111
strategy:
112112
matrix:
113-
runs_on: [macos-latest, apple-silicon-m1]
113+
# macos-latest (ATM macos-14) runs on Apple Silicon,
114+
# macos-13 runs on Intel
115+
runs_on: ['macos-latest', 'macos-13']
114116
bootstrap:
115117
- name: sdl2
116118
target: testapps-with-numpy
@@ -124,25 +126,21 @@ jobs:
124126
steps:
125127
- name: Checkout python-for-android
126128
uses: actions/checkout@v4
129+
- name: Set up Python 3.x
130+
uses: actions/setup-python@v5
131+
with:
132+
python-version: 3.x
127133
- name: Install python-for-android
128134
run: |
129-
source ci/osx_ci.sh
130-
arm64_set_path_and_python_version 3.9.7
131135
python3 -m pip install -e .
132136
- name: Install prerequisites via pythonforandroid/prerequisites.py (Experimental)
133137
run: |
134-
source ci/osx_ci.sh
135-
arm64_set_path_and_python_version 3.9.7
136138
python3 pythonforandroid/prerequisites.py
137139
- name: Install dependencies (Legacy)
138140
run: |
139-
source ci/osx_ci.sh
140-
arm64_set_path_and_python_version 3.9.7
141141
make --file ci/makefiles/osx.mk
142142
- name: Build multi-arch apk Python 3 (armeabi-v7a, arm64-v8a, x86_64, x86)
143143
run: |
144-
source ci/osx_ci.sh
145-
arm64_set_path_and_python_version 3.9.7
146144
make ${{ matrix.bootstrap.target }}
147145
- name: Copy produced artifacts into dist/ (*.apk, *.aab)
148146
run: |
@@ -199,7 +197,9 @@ jobs:
199197
strategy:
200198
matrix:
201199
android_arch: ["arm64-v8a", "armeabi-v7a", "x86_64", "x86"]
202-
runs_on: [macos-latest, apple-silicon-m1]
200+
# macos-latest (ATM macos-14) runs on Apple Silicon,
201+
# macos-13 runs on Intel
202+
runs_on: ['macos-latest', 'macos-13']
203203
env:
204204
ANDROID_HOME: ${HOME}/.android
205205
ANDROID_SDK_ROOT: ${HOME}/.android/android-sdk
@@ -211,25 +211,21 @@ jobs:
211211
uses: actions/checkout@v4
212212
with:
213213
fetch-depth: 0
214+
- name: Set up Python 3.x
215+
uses: actions/setup-python@v5
216+
with:
217+
python-version: 3.x
214218
- name: Install python-for-android
215219
run: |
216-
source ci/osx_ci.sh
217-
arm64_set_path_and_python_version 3.9.7
218220
python3 -m pip install -e .
219221
- name: Install prerequisites via pythonforandroid/prerequisites.py (Experimental)
220222
run: |
221-
source ci/osx_ci.sh
222-
arm64_set_path_and_python_version 3.9.7
223223
python3 pythonforandroid/prerequisites.py
224224
- name: Install dependencies (Legacy)
225225
run: |
226-
source ci/osx_ci.sh
227-
arm64_set_path_and_python_version 3.9.7
228226
make --file ci/makefiles/osx.mk
229227
- name: Rebuild updated recipes
230228
run: |
231-
source ci/osx_ci.sh
232-
arm64_set_path_and_python_version 3.9.7
233229
make rebuild_updated_recipes
234230
235231
coveralls_finish:

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ RUN ${RETRY} apt -y update -qq > /dev/null \
5757
ant \
5858
autoconf \
5959
automake \
60+
autopoint \
6061
ccache \
6162
cmake \
6263
g++ \
@@ -70,6 +71,7 @@ RUN ${RETRY} apt -y update -qq > /dev/null \
7071
make \
7172
openjdk-17-jdk \
7273
patch \
74+
patchelf \
7375
pkg-config \
7476
python3 \
7577
python3-dev \

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ testapps-with-scipy/%: virtualenv
5555
. $(ACTIVATE) && cd testapps/on_device_unit_tests/ && \
5656
export LEGACY_NDK=$(ANDROID_NDK_HOME_LEGACY) && \
5757
python setup.py $(ARTIFACT) --$(MODE) --sdk-dir $(ANDROID_SDK_HOME) --ndk-dir $(ANDROID_NDK_HOME) \
58-
--requirements python3,scipy,kivy \
58+
--requirements python3,scipy,kivy \
5959
--arch=armeabi-v7a --arch=arm64-v8a
6060

6161
testapps-webview: testapps-webview/debug/apk testapps-webview/release/aab

ci/osx_ci.sh

Lines changed: 0 additions & 13 deletions
This file was deleted.

doc/source/quickstart.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ the following command (re-adapted from the `Dockerfile` we use to perform CI bui
7272
ant \
7373
autoconf \
7474
automake \
75+
autopoint \
7576
ccache \
7677
cmake \
7778
g++ \
@@ -85,6 +86,7 @@ the following command (re-adapted from the `Dockerfile` we use to perform CI bui
8586
make \
8687
openjdk-17-jdk \
8788
patch \
89+
patchelf \
8890
pkg-config \
8991
python3 \
9092
python3-dev \

0 commit comments

Comments
 (0)