Skip to content

Commit

Permalink
Bump macos runner image to 14 (apache#463)
Browse files Browse the repository at this point in the history
  • Loading branch information
BewareMyPower authored Dec 11, 2024
1 parent 2abbf83 commit 6f7c37a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-build-binary-artifacts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ jobs:

package-macos:
name: Build macOS libraries
runs-on: macos-12
runs-on: macos-14
timeout-minutes: 500

strategy:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci-pr-validation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
4 changes: 3 additions & 1 deletion pkg/mac/build-static-library.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6f7c37a

Please sign in to comment.