Skip to content

Commit

Permalink
[PM-15176] Ignore ResParseError when building with fdroidserver
Browse files Browse the repository at this point in the history
This commit modifies the fdroid workflow to ignore ResParseError during the build process with fdroidserver.

The change involves patching the androguard library to replace raised ResParseError exceptions with warning logs. This addresses an issue where the build would fail due to these errors.
  • Loading branch information
SaintPatrck committed Dec 10, 2024
1 parent ee7d378 commit 53d9200
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/fdroid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,11 @@ jobs:
sudo apt-get update
sudo apt-get install fdroidserver
- name: Ignore F-Droid ResParseError
run: |
sudo sed -i 's|raise ResParserError("res0 must be zero!")|log.warning("res0 must be zero!")|g' /usr/lib/python3/dist-packages/androguard/core/bytecodes/axml/__init__.py
sudo sed -i 's|raise ResParserError("res1 must be zero!")|log.warning("res1 must be zero!")|g' /usr/lib/python3/dist-packages/androguard/core/bytecodes/axml/__init__.py
- name: Set up Go
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
with:
Expand Down

0 comments on commit 53d9200

Please sign in to comment.