-
Notifications
You must be signed in to change notification settings - Fork 506
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
✅ Also integration test on macOS #1131
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,7 +45,12 @@ jobs: | |
run: docker run kivy/buildozer --version | ||
|
||
Integration: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
os: | ||
- 'ubuntu-latest' | ||
- 'macOs-latest' | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Setup python | ||
uses: actions/setup-python@v2 | ||
|
@@ -60,8 +65,17 @@ jobs: | |
- run: buildozer init | ||
- name: SDK, NDK and p4a download | ||
run: | | ||
sed "s/# android.accept_sdk_license = False/android.accept_sdk_license = True/" -i buildozer.spec | ||
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 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is a workaround that could easily be integrated p4a side by patching Python to add There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That's interesting indeed. Did macOS move this recently? Anyway, seems like a good fix for CI purposes. Is this something users are going to have problems with? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I assumed user may have problem with it, even though I didn't directly see the problem yet on my macOS. |
||
- name: buildozer android debug | ||
run: | | ||
touch main.py | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sed in macOS doesn't work the same way as the one in Linux, the
-i.bak
is doing the trick to work on both