Skip to content

Migrate to use cmd, cmd_expect and file_extract from Buildops. #138

Migrate to use cmd, cmd_expect and file_extract from Buildops.

Migrate to use cmd, cmd_expect and file_extract from Buildops. #138

Workflow file for this run

on: [push, pull_request]
name: iOS
jobs:
Integration:
name: "Integration (${{ matrix.runs_on }}, ${{ matrix.python }})"
runs-on: ${{ matrix.runs_on || 'macos-latest' }}
strategy:
matrix:
include:
- runs_on: macos-latest
python: '3.9'
- runs_on: apple-silicon-m1
python: '3.9.7'
steps:
- name: Setup python
# Needs to be skipped on our self-hosted runners tagged as 'apple-silicon-m1'
if: ${{ matrix.runs_on != 'apple-silicon-m1' }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- uses: actions/checkout@v2
- name: Setup environment
run: |
source .ci/osx_ci.sh
arm64_set_path_and_python_version ${{ matrix.python }}
pip install -e .
pip install Cython==0.29.36 cookiecutter pbxproj
- name: Check buildozer installation
run: |
source .ci/osx_ci.sh
arm64_set_path_and_python_version ${{ matrix.python }}
buildozer --help
- name: Initialize buildozer in project folder
run: |
source .ci/osx_ci.sh
arm64_set_path_and_python_version ${{ matrix.python }}
buildozer init
- name: Install dependencies
run: |
source .ci/osx_ci.sh
arm64_set_path_and_python_version ${{ matrix.python }}
brew install autoconf automake libtool pkg-config
- name: buildozer ios debug
run: |
source .ci/osx_ci.sh
arm64_set_path_and_python_version ${{ matrix.python }}
touch main.py
buildozer ios debug