Temporarily disable iOS UI Test (#3643)
This commit is contained in:
41
.github/workflows/ios-ci.yml
vendored
41
.github/workflows/ios-ci.yml
vendored
@@ -100,26 +100,27 @@ jobs:
|
||||
#- name: Running iOS UI tests (Thread Sanitizer)
|
||||
# run: bazel test //platform/ios/iosapp-UITests:uitest --test_output=errors --//:renderer=metal --features=tsan
|
||||
|
||||
- name: Running iOS UI tests (Address+UB Sanitizer)
|
||||
run: |
|
||||
retry_count=0
|
||||
max_retries=5
|
||||
while [ $retry_count -le $max_retries ]; do
|
||||
bazel test //platform/ios/iosapp-UITests:uitest \
|
||||
--test_output=errors \
|
||||
--//:renderer=metal \
|
||||
--features=include_clang_rt \
|
||||
--copt=-fsanitize=undefined \
|
||||
--linkopt=-fsanitize=undefined \
|
||||
--copt=-fsanitize-recover=null \
|
||||
--linkopt=-fsanitize-recover=null && break
|
||||
retry_count=$((retry_count+1))
|
||||
if [ $retry_count -eq $max_retries ]; then
|
||||
echo "::error::Failed to run iOS UI tests after $max_retries attempts"
|
||||
exit 1
|
||||
fi
|
||||
echo "Attempt $retry_count failed. Retrying..."
|
||||
done
|
||||
# https://github.com/maplibre/maplibre-native/issues/3642
|
||||
# - name: Running iOS UI tests (Address+UB Sanitizer)
|
||||
# run: |
|
||||
# retry_count=0
|
||||
# max_retries=5
|
||||
# while [ $retry_count -le $max_retries ]; do
|
||||
# bazel test //platform/ios/iosapp-UITests:uitest \
|
||||
# --test_output=errors \
|
||||
# --//:renderer=metal \
|
||||
# --features=include_clang_rt \
|
||||
# --copt=-fsanitize=undefined \
|
||||
# --linkopt=-fsanitize=undefined \
|
||||
# --copt=-fsanitize-recover=null \
|
||||
# --linkopt=-fsanitize-recover=null && break
|
||||
# retry_count=$((retry_count+1))
|
||||
# if [ $retry_count -eq $max_retries ]; then
|
||||
# echo "::error::Failed to run iOS UI tests after $max_retries attempts"
|
||||
# exit 1
|
||||
# fi
|
||||
# echo "Attempt $retry_count failed. Retrying..."
|
||||
# done
|
||||
|
||||
# render test
|
||||
|
||||
|
||||
Reference in New Issue
Block a user