Remove empty except clauses #397
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push, pull_request] | |
env: | |
PYTHONFORANDROID_PREREQUISITES_INSTALL_INTERACTIVE: 0 | |
name: Android | |
jobs: | |
Integration: | |
strategy: | |
matrix: | |
os: | |
- 'ubuntu-latest' | |
- 'macOs-latest' | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Setup python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.8 | |
- uses: actions/checkout@v4 | |
- name: Setup environment | |
run: | | |
pip install -e . | |
pip install Cython==0.29.36 | |
- run: buildozer --help | |
- run: buildozer init | |
- name: SDK, NDK and p4a download | |
run: | | |
sed -i.bak "s/# android.accept_sdk_license = False/android.accept_sdk_license = True/" buildozer.spec | |
sed -i.bak "s/#p4a.branch = master/p4a.branch = develop/" buildozer.spec | |
buildozer android p4a -- --help | |
# Install OS specific dependencies | |
- name: Install Linux dependencies | |
if: matrix.os == 'ubuntu-latest' | |
run: sudo apt -y install automake | |
- name: Install macOS dependencies | |
if: matrix.os == 'macOS-latest' | |
run: | | |
brew install automake | |
sudo ln -sfn /usr/local/opt/openssl /usr/local/ssl | |
- name: buildozer android debug | |
run: | | |
touch main.py | |
buildozer android debug | |
- name: buildozer android release (aab) | |
run: | | |
touch main.py | |
export BUILDOZER_ALLOW_ORG_TEST_DOMAIN=1 | |
buildozer android release |