File: build_android.yml

package info (click to toggle)
bleak 2.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,076 kB
  • sloc: python: 11,282; makefile: 165; java: 105
file content (27 lines) | stat: -rw-r--r-- 850 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: Build and Test

on: workflow_dispatch

jobs:
  build_android:
    name: "Build Android"
    runs-on: ubuntu-22.04
    steps:
      - uses: actions/checkout@v4
      - name: Install dependencies
        run: pip install buildozer cython
      - name: Cache buildozer files
        uses: actions/cache@v4
        id: buildozer-cache
        with:
          path: |
            ~/.buildozer
            examples/kivy/.buildozer
          key: build-cache-buildozer
      - name: Clean bleak recipe for cache
        if: steps.buildozer-cache.outputs.cache-hit == 'true'
        working-directory: examples/kivy
        run: buildozer android p4a -- clean-recipe-build --local-recipes $(pwd)/../../bleak/backends/p4android/recipes bleak
      - name: Build Kivy example
        working-directory: examples/kivy
        run: buildozer android debug