2020
2121jobs :
2222 build :
23+ name : ${{ matrix.MB_ML_LIBC }}_${{ matrix.PLAT}}, ${{ matrix.INTERFACE64 == '1' && '64' || '32' }}
2324 runs-on : ${{ matrix.os }}
2425 defaults :
2526 run :
@@ -57,12 +58,15 @@ jobs:
5758 - { os: ubuntu-24.04-arm, PLAT: riscv64, INTERFACE64: '0', MB_ML_VER: '_2_39', MB_ML_LIBC: manylinux}
5859 - { os: ubuntu-24.04-arm, PLAT: riscv64, INTERFACE64: '1', MB_ML_VER: '_2_39', MB_ML_LIBC: manylinux}
5960
61+ - { os: ubuntu-latest, PLAT: x86_64, INTERFACE64: '0', MB_ML_LIBC: android}
62+ - { os: ubuntu-latest, PLAT: x86_64, INTERFACE64: '1', MB_ML_LIBC: android}
63+
64+ - { os: ubuntu-latest, PLAT: arm64_v8a, INTERFACE64: '0', MB_ML_LIBC: android}
65+ - { os: ubuntu-latest, PLAT: arm64_v8a, INTERFACE64: '1', MB_ML_LIBC: android}
66+
6067 env :
6168 NIGHTLY : ${{ inputs.publish == false && (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') }}
62- MB_ML_LIBC : ${{ matrix.MB_ML_LIBC }}
63- MB_ML_VER : ${{ matrix.MB_ML_VER }}
6469 INTERFACE64 : ${{ matrix.INTERFACE64 }}
65- PLAT : ${{ matrix.PLAT }}
6670
6771 steps :
6872 - uses : actions/checkout@v6.0.1
8286 with :
8387 platforms : all
8488
85- - name : Print some Environment variable
86- run : |
87- echo "PLAT: ${PLAT}"
88-
8989 # - name: Setup tmate session
9090 # if: ${{ failure() }}
9191 # uses: mxschmitt/action-tmate@v3
@@ -96,11 +96,12 @@ jobs:
9696 uses : pypa/cibuildwheel@v4.1.0
9797 timeout-minutes : 60
9898 with :
99+ # For Android, cibuildwheel has a minimum of Python 3.13, but the exact version
100+ # doesn't matter because setup.py will replace the tag with "py3".
101+ only : " cp313-${{ matrix.MB_ML_LIBC }}_${{matrix.PLAT}}"
99102 output-dir : dist
100103 env :
101- CIBW_ARCHS : ${{matrix.PLAT}}
102104 CIBW_BUILD_VERBOSITY : 1
103- CIBW_BUILD : " cp39-${{ matrix.MB_ML_LIBC }}_${{matrix.PLAT}}"
104105
105106 CIBW_MANYLINUX_I686_IMAGE : ${{ matrix.MB_ML_LIBC }}${{matrix.MB_ML_VER}}
106107 CIBW_MANYLINUX_X86_64_IMAGE : ${{ matrix.MB_ML_LIBC }}${{matrix.MB_ML_VER}}
0 commit comments