Skip to content

Commit 77a9324

Browse files
committed
Update test_android.yml
1 parent ff5cad2 commit 77a9324

File tree

1 file changed

+27
-20
lines changed

1 file changed

+27
-20
lines changed

.github/workflows/test_android.yml

Lines changed: 27 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -26,36 +26,43 @@ jobs:
2626
GODOT_VERSION: 4.5.1-stable
2727
run: ./scripts/deploy-android-template.sh $GODOT_VERSION
2828

29-
- name: Set up Java 17
30-
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
31-
with:
32-
distribution: temurin
33-
java-version: 17
29+
# - name: Set up Java 17
30+
# uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
31+
# with:
32+
# distribution: temurin
33+
# java-version: 17
3434

35-
- name: Set up NDK
36-
uses: nttld/setup-ndk@afb4c9964b521afb97c864b7d40b11e6911bd410 # v1.5.0
37-
with:
38-
ndk-version: r28b
39-
link-to-sdk: true
35+
# - name: Set up NDK
36+
# uses: nttld/setup-ndk@afb4c9964b521afb97c864b7d40b11e6911bd410 # v1.5.0
37+
# with:
38+
# ndk-version: r28b
39+
# link-to-sdk: true
4040

41-
- name: Export project
42-
shell: bash
43-
timeout-minutes: 5
44-
env:
45-
SENTRY_TEST: 1
46-
SENTRY_TEST_INCLUDE: "res://test/suites/"
47-
run: |
48-
cp exports/export_presets.cfg project/export_presets.cfg
49-
"$GODOT" --path project/ --headless --export-debug "Android CI" "${GITHUB_WORKSPACE}/exports/android.apk" || true
41+
# - name: Export project
42+
# shell: bash
43+
# timeout-minutes: 5
44+
# env:
45+
# SENTRY_TEST: 1
46+
# SENTRY_TEST_INCLUDE: "res://test/suites/"
47+
# run: |
48+
# cp exports/export_presets.cfg project/export_presets.cfg
49+
# "$GODOT" --path project/ --headless --export-debug "Android CI" "${GITHUB_WORKSPACE}/exports/android.apk" || true
5050

51-
ls -lR exports/
51+
# ls -lR exports/
5252

5353
- name: Enable KVM
5454
run: |
5555
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
5656
sudo udevadm control --reload-rules
5757
sudo udevadm trigger --name-match=kvm
5858
59+
# Make sure that the required directories and .cfg do exists. Workaround to keep ADV happy on `ubuntu-latest`.
60+
- name: Setup Android directories
61+
run: |
62+
mkdir -p $HOME/.android
63+
mkdir -p $HOME/.android/avd
64+
touch $HOME/.android/repositories.cfg
65+
5966
- name: Run Android Tests
6067
uses: reactivecircus/android-emulator-runner@d94c3fbe4fe6a29e4a5ba47c12fb47677c73656b # [email protected]
6168
timeout-minutes: 30

0 commit comments

Comments
 (0)