This is an automated email from the ASF dual-hosted git repository.

xyz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-client-cpp.git


The following commit(s) were added to refs/heads/main by this push:
     new 6f7c37a  Bump macos runner image to 14 (#463)
6f7c37a is described below

commit 6f7c37aa4b68a5fcf12058d3f3352faba5f37c3c
Author: Yunze Xu <[email protected]>
AuthorDate: Wed Dec 11 21:56:44 2024 +0800

    Bump macos runner image to 14 (#463)
---
 .github/workflows/ci-build-binary-artifacts.yaml | 2 +-
 .github/workflows/ci-pr-validation.yaml          | 6 +++---
 pkg/mac/build-static-library.sh                  | 4 +++-
 3 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/ci-build-binary-artifacts.yaml 
b/.github/workflows/ci-build-binary-artifacts.yaml
index 7984410..5b9dd52 100644
--- a/.github/workflows/ci-build-binary-artifacts.yaml
+++ b/.github/workflows/ci-build-binary-artifacts.yaml
@@ -197,7 +197,7 @@ jobs:
 
   package-macos:
     name: Build macOS libraries
-    runs-on: macos-12
+    runs-on: macos-14
     timeout-minutes: 500
 
     strategy:
diff --git a/.github/workflows/ci-pr-validation.yaml 
b/.github/workflows/ci-pr-validation.yaml
index 31ea57f..0d22981 100644
--- a/.github/workflows/ci-pr-validation.yaml
+++ b/.github/workflows/ci-pr-validation.yaml
@@ -47,7 +47,7 @@ jobs:
     timeout-minutes: 60
     strategy:
       matrix:
-        # TODO: support build on macos-12
+        # TODO: support build on macos-14
         os: [ubuntu-20.04]
 
     steps:
@@ -314,7 +314,7 @@ jobs:
     timeout-minutes: 120
     name: Build CPP Client on macOS
     needs: formatting-check
-    runs-on: macos-12
+    runs-on: macos-14
     steps:
       - name: checkout
         uses: actions/checkout@v3
@@ -340,7 +340,7 @@ jobs:
   cpp-build-macos-static:
     timeout-minutes: 120
     name: Build CPP Client on macOS with static dependencies
-    runs-on: macos-12
+    runs-on: macos-14
     needs: unit-tests
     steps:
       - name: checkout
diff --git a/pkg/mac/build-static-library.sh b/pkg/mac/build-static-library.sh
index 4b97ac7..d787ca9 100755
--- a/pkg/mac/build-static-library.sh
+++ b/pkg/mac/build-static-library.sh
@@ -21,7 +21,9 @@
 set -ex
 cd `dirname $0`
 
-pip3 install pyyaml
+python3 -m venv venv
+source venv/bin/activate
+python3 -m pip install pyyaml
 
 MACOSX_DEPLOYMENT_TARGET=10.15
 if [[ -z ${ARCH} ]]; then

Reply via email to