diff --git a/.ci/scripts/unittest-macos-buck2.sh b/.ci/scripts/unittest-macos-buck2.sh new file mode 100644 index 00000000000..4a5dc99b4ce --- /dev/null +++ b/.ci/scripts/unittest-macos-buck2.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# This source code is licensed under the BSD-style license found in the +# LICENSE file in the root directory of this source tree. +set -eux + +buck2 test //extension/apple:ExecuTorch diff --git a/.ci/scripts/unittest-macos.sh b/.ci/scripts/unittest-macos.sh index 960f69389ce..538a6f53401 100755 --- a/.ci/scripts/unittest-macos.sh +++ b/.ci/scripts/unittest-macos.sh @@ -35,6 +35,7 @@ if [[ "$BUILD_TOOL" == "cmake" ]]; then .ci/scripts/unittest-macos-cmake.sh elif [[ "$BUILD_TOOL" == "buck2" ]]; then .ci/scripts/unittest-buck2.sh + .ci/scripts/unittest-macos-buck2.sh else echo "Unknown build tool $BUILD_TOOL" exit 1