ci: no ipv6
Some checks failed
/ build (push) Failing after 6s

This commit is contained in:
Matyáš Caras 2024-07-17 23:06:20 +02:00
parent 5733f52572
commit 0e6efd6d97
Signed by: hernik
GPG key ID: 2A3175F98820C5C6

View file

@ -10,6 +10,7 @@ jobs:
steps: steps:
- name: Install dependencies - name: Install dependencies
run: | run: |
sysctl net.ipv6.conf.all.disable_ipv6=1
apt-get update && apt-get upgrade -y apt-get update && apt-get upgrade -y
apt-get install -y git curl wget apt-get install -y git curl wget
curl -fsSL https://deb.nodesource.com/setup_20.x -o nodesource_setup.sh curl -fsSL https://deb.nodesource.com/setup_20.x -o nodesource_setup.sh
@ -62,7 +63,7 @@ jobs:
echo "Creating AVD" echo "Creating AVD"
echo "no" | avdmanager -v create avd --force --name "android_emulator" --package "system-images;android-${{ vars.ANDROID_API }};${{vars.ANDROID_TARGET}};${{ vars.ANDROID_ARCH }}" --tag "${{vars.ANRDOID_TARGET}}" --sdcard 128M --device "${{ vars.ANDROID_DEVICE }}" echo "no" | avdmanager -v create avd --force --name "android_emulator" --package "system-images;android-${{ vars.ANDROID_API }};${{vars.ANDROID_TARGET}};${{ vars.ANDROID_ARCH }}" --tag "${{vars.ANRDOID_TARGET}}" --sdcard 128M --device "${{ vars.ANDROID_DEVICE }}"
echo "Starting AVD" echo "Starting AVD"
emulator -avd "android_emulator" -no-audio -no-window -no-snapstorage -no-snapshot -gpu swiftshader_indirect -no-boot-anim -no-accel -wipe-data -skip-adb-auth & emulator -avd "android_emulator" -no-audio -no-window -no-snapstorage -no-snapshot -gpu swiftshader_indirect -no-boot-anim -no-accel -no-metrics -wipe-data -skip-adb-auth &
echo "Wait-for AVD" echo "Wait-for AVD"
adb wait-for-device shell 'while [[ -z $(getprop sys.boot_completed) ]]; do sleep 1; done; input keyevent 82' adb wait-for-device shell 'while [[ -z $(getprop sys.boot_completed) ]]; do sleep 1; done; input keyevent 82'
flutter doctor -v flutter doctor -v