Skip to content

Refactor dependencies and their tests #386

Refactor dependencies and their tests

Refactor dependencies and their tests #386

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@v4
with:
python-version: ${{ matrix.python }}
- uses: actions/checkout@v4
- name: Setup environment
run: |
source .ci/osx_ci.sh
arm64_set_path_and_python_version ${{ matrix.python }}
pip install .[ios]
- 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