Skip to content

Commit 41f9062

Browse files
committed
Issue warning message when trying to run tests on ARM64 macOS runner
1 parent d8247b4 commit 41f9062

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

action.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -231,11 +231,11 @@ runs:
231231
shell: bash
232232
working-directory: ${{ inputs.package-path }}
233233
run: |
234-
# disabled because a self-hosted runner might not be using nested virtualization…
235-
#if [ ${RUNNER_ARCH} == 'ARM64' ] && [ ${RUNNER_OS} == 'macOS' ]; then
236-
# echo "::error::Cannot run tests on ARM64 macOS due to HVF error: HV_UNSUPPORTED. See https://github.com/ReactiveCircus/android-emulator-runner/issues/350#issuecomment-2030065889"
237-
# exit 1
238-
#fi
234+
if [ ${RUNNER_ARCH} == 'ARM64' ] && [ ${RUNNER_OS} == 'macOS' ]; then
235+
echo "::warning::Cannot run tests on ARM64 macOS due to HVF error: HV_UNSUPPORTED. See https://github.com/ReactiveCircus/android-emulator-runner/issues/350#issuecomment-2030065889"
236+
# exit disabled because a self-hosted runner might not be using nested virtualization…
237+
#exit 1
238+
fi
239239
240240
#inputs.android-emulator-test-folder = /data/local/tmp/android-xctest
241241
REMOTE_FOLDER=$(dirname "${{ inputs.android-emulator-test-folder }}")

0 commit comments

Comments
 (0)