[p4a] use caching in github workflow
@@ -45,6 +45,16 @@ jobs:
run: python -m pip install --upgrade pip setuptools wheel
- name: Install dependencies
run: pip install buildozer cython
+ - name: Cache buildozer files
+ uses: actions/cache@v2
+ with:
+ path: |
+ ~/.buildozer
+ examples/kivy/.buildozer
+ key: build-cache-buildozer
- name: Build Kivy example
working-directory: examples/kivy
run: buildozer android debug
+ - name: Clean bleak recipe for cache
+ working-directory: examples/kivy
+ run: buildozer android p4a -- clean_recipe_build --local-recipes $(pwd)/../../bleak/backends/p4android/recipes bleak
