File tree Expand file tree Collapse file tree
pythonforandroid/recipes/kiwisolver Expand file tree Collapse file tree Original file line number Diff line number Diff 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 : |
Original file line number Diff line number Diff 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
1220recipe = KiwiSolverRecipe ()
You can’t perform that action at this time.
0 commit comments