Skip to content

Commit

Permalink
chore: skip overriding entitlements
Browse files Browse the repository at this point in the history
  • Loading branch information
siepra committed May 9, 2024
1 parent 79009ac commit 7a65440
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/e2e-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,23 +25,23 @@ jobs:
git lfs pull
# see: https://stackoverflow.com/questions/67264212/android-emulator-crash-when-start-hvf-error-hv-error
- name: Create qemu entitlements
run: |
{
echo '<?xml version="1.0" encoding="UTF-8"?>'
echo '<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">'
echo '<plist version="1.0">'
echo '<dict>'
echo ' <key>com.apple.security.hypervisor</key>'
echo ' <true/>'
echo '</dict>'
echo '</plist>'
} >> $ANDROID_HOME/emulator/qemu/darwin-aarch64/entitlements.xml
- name: Re-sign qemu binary
run: |
cd $ANDROID_HOME/emulator/qemu/darwin-aarch64
codesign -s - --entitlements entitlements.xml --force qemu-system-aarch64 --verbose
# - name: Create qemu entitlements
# run: |
# {
# echo '<?xml version="1.0" encoding="UTF-8"?>'
# echo '<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">'
# echo '<plist version="1.0">'
# echo '<dict>'
# echo ' <key>com.apple.security.hypervisor</key>'
# echo ' <true/>'
# echo '</dict>'
# echo '</plist>'
# } >> $ANDROID_HOME/emulator/qemu/darwin-aarch64/entitlements.xml

# - name: Re-sign qemu binary
# run: |
# cd $ANDROID_HOME/emulator/qemu/darwin-aarch64
# codesign -s - --entitlements entitlements.xml --force qemu-system-aarch64 --verbose

- name: Install SDK image
run: yes | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --install 'system-images;android-34;google_apis;arm64-v8a'
Expand Down

0 comments on commit 7a65440

Please sign in to comment.