Skip to content
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

Fix github workflow when building the Android APK #801

Merged
merged 5 commits into from
Feb 25, 2024

Conversation

tenzap
Copy link
Contributor

@tenzap tenzap commented Feb 24, 2024

Commit messages are self explanatory:

  • Fix the check on whether fuse-zip has to be installed
  • support use of launchpad PPA (bastif/qt-android) to get qt-android
  • update qt-android to 6.5.3
  • update path to the built APK accordingly
  • upgrade actions/* to v4

- either launchpad PPA or salsa.debian.org
- use launchpad's PPA by default (ppa:bastif/qt-android)
- update qt-android-6.5 to 6.5.3 (when taken from salsa.debian.org)
- update NDK & android platform to fit versions used in Qt 6.5.3
Since qt6.5.3, because of a bug fix, APK are now in
build/android-build/build/outputs/apk/release/android-build-release-unsigned.apk

This is because without QT_ANDROID_DEPLOY_RELEASE set, it defaults to TRUE
and will produced a "release" apk (instead of debug apk)

Also build with QT_ANDROID_DEPLOY_RELEASE=TRUE to be explicit
…o v4

Fixes
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
version on PPA isn't quite ready yet when using qmake
Copy link
Owner

@AlbrechtL AlbrechtL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the update!

@AlbrechtL AlbrechtL merged commit 4d6751f into AlbrechtL:next Feb 25, 2024
1 check passed
@tenzap tenzap deleted the next-036-qt-android-ppa branch February 28, 2024 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants