Skip to content

Commit f3b4369

Browse files
authored
Merge branch 'kivy:develop' into firebase
2 parents df80cb8 + ceed049 commit f3b4369

2 files changed

Lines changed: 11 additions & 3 deletions

File tree

.github/workflows/push.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ jobs:
102102
if [ -f dist/${{ env.AAB_ARTIFACT_FILENAME }} ]; then mv dist/${{ env.AAB_ARTIFACT_FILENAME }} dist/${{ matrix.runs_on }}-${{ matrix.bootstrap.name }}-${{ env.AAB_ARTIFACT_FILENAME }}; fi
103103
if [ -f dist/${{ env.AAR_ARTIFACT_FILENAME }} ]; then mv dist/${{ env.AAR_ARTIFACT_FILENAME }} dist/${{ matrix.runs_on }}-${{ matrix.bootstrap.name }}-${{ env.AAR_ARTIFACT_FILENAME }}; fi
104104
- name: Upload artifacts
105-
uses: actions/upload-artifact@v3
105+
uses: actions/upload-artifact@v4
106106
with:
107107
name: ${{ matrix.runs_on }}-${{ matrix.bootstrap.name }}-artifacts
108108
path: dist
@@ -157,7 +157,7 @@ jobs:
157157
if [ -f dist/${{ env.APK_ARTIFACT_FILENAME }} ]; then mv dist/${{ env.APK_ARTIFACT_FILENAME }} dist/${{ matrix.runs_on }}-${{ matrix.bootstrap.name }}-${{ env.APK_ARTIFACT_FILENAME }}; fi
158158
if [ -f dist/${{ env.AAB_ARTIFACT_FILENAME }} ]; then mv dist/${{ env.AAB_ARTIFACT_FILENAME }} dist/${{ matrix.runs_on }}-${{ matrix.bootstrap.name }}-${{ env.AAB_ARTIFACT_FILENAME }}; fi
159159
- name: Upload artifacts
160-
uses: actions/upload-artifact@v3
160+
uses: actions/upload-artifact@v4
161161
with:
162162
name: ${{ matrix.runs_on }}-${{ matrix.bootstrap.name }}-artifacts
163163
path: dist
@@ -184,7 +184,7 @@ jobs:
184184
sudo swapoff -a
185185
sudo rm -f /swapfile
186186
sudo apt -y clean
187-
docker rmi $(docker image ls -aq)
187+
docker images -q | xargs -r docker rmi
188188
df -h
189189
- name: Pull docker image
190190
run: |

pythonforandroid/recipes/kiwisolver/__init__.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,13 @@ class KiwiSolverRecipe(PyProjectRecipe):
88
depends = ['cppy']
99
need_stl_shared = True
1010

11+
# from https://github.com/kivy/python-for-android/issues/3115
12+
def get_recipe_env(self, arch, **kwargs):
13+
env = super().get_recipe_env(arch, **kwargs)
14+
flags = " -I" + self.ctx.python_recipe.include_root(arch.arch)
15+
env["CFLAGS"] = flags
16+
env["CPPFLAGS"] = flags
17+
return env
18+
1119

1220
recipe = KiwiSolverRecipe()

0 commit comments

Comments
 (0)