-
Notifications
You must be signed in to change notification settings - Fork 507
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1158 from AndreMiras/feature/split_ci
👷 Moves Android build to dedicated workflow file
- Loading branch information
Showing
3 changed files
with
42 additions
and
39 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
on: [push, pull_request] | ||
name: Android | ||
jobs: | ||
Integration: | ||
strategy: | ||
matrix: | ||
os: | ||
- 'ubuntu-latest' | ||
- 'macOs-latest' | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Setup python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.8 | ||
- uses: actions/checkout@v2 | ||
- name: Setup environment | ||
run: | | ||
pip install -e . | ||
pip install Cython==0.29.19 | ||
- 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 | ||
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 |
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
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