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 4181fb2fdc..693d99afc5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -106,6 +106,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 \