diff --git a/.github/workflows/macos_nightly.yml b/.github/workflows/macos_nightly.yml index 431469d447..94d616c014 100644 --- a/.github/workflows/macos_nightly.yml +++ b/.github/workflows/macos_nightly.yml @@ -48,6 +48,8 @@ jobs: bash tools/ci_testing/install_bazel_macos.sh $BAZEL_VERSION bazel build \ -c opt \ + --copt -mmacosx-version-min=10.13 \ + --linkopt -mmacosx-version-min=10.13 \ --noshow_progress \ --noshow_loading_progress \ --verbose_failures \ diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 012fd5fab6..af1c98a709 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -107,6 +107,8 @@ jobs: bash tools/ci_testing/install_bazel_macos.sh $BAZEL_VERSION bazel build \ -c opt \ + --copt -mmacosx-version-min=10.13 \ + --linkopt -mmacosx-version-min=10.13 \ --noshow_progress \ --noshow_loading_progress \ --verbose_failures \