CI: explicitly use -gpu swiftshader_indirect with Android emulator
Force the emulator to use software acceleration to avoid a crash. Change-Id: I1e73b8bc6485b0854cf83f5d9faa5d5f872a90df Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>bb10
parent
cbaff13701
commit
cbd226fffa
|
|
@ -41,7 +41,7 @@ RESULT=0
|
|||
for counter in `seq 1 ${EMULATOR_MAX_RETRIES}`; do
|
||||
$ADB_EXEC start-server
|
||||
echo "Starting emulator, try ${counter}/${EMULATOR_MAX_RETRIES}"
|
||||
$EMULATOR_EXEC $EMULATOR_NAME -no-audio -partition-size 4096 -cores 4 -memory 3500 -no-snapshot-load -no-snapshot-save &>/dev/null &
|
||||
$EMULATOR_EXEC $EMULATOR_NAME -gpu swiftshader_indirect -no-audio -partition-size 4096 -cores 4 -memory 3500 -no-snapshot-load -no-snapshot-save &>/dev/null &
|
||||
emulator_pid=$!
|
||||
|
||||
# Give emulator time to start
|
||||
|
|
|
|||
Loading…
Reference in New Issue