Skip to content

Commit

Permalink
Now Github Actions provides python3 via setup-python also for Apple S…
Browse files Browse the repository at this point in the history
…ilicon macs
  • Loading branch information
misl6 committed Sep 10, 2023
1 parent 7dbfeae commit f8b0bbd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 32 deletions.
13 changes: 0 additions & 13 deletions .ci/osx_ci.sh

This file was deleted.

22 changes: 3 additions & 19 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,46 +3,30 @@ name: iOS
jobs:
Integration:
name: "Integration (${{ matrix.runs_on }}, ${{ matrix.python }})"
runs-on: ${{ matrix.runs_on || 'macos-latest' }}
runs-on: ${{ matrix.runs_on }}
strategy:
matrix:
include:
- runs_on: macos-latest
python: '3.9'
- runs_on: apple-silicon-m1
python: '3.9.7'
runs_on: [macos-latest, apple-silicon-m1]
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 }}
python-version: '3.x'
- uses: actions/checkout@v4
- 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

0 comments on commit f8b0bbd

Please sign in to comment.