Skip to content

Commit

Permalink
Use macos-14 to build arm64 mac binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
yukawa committed Feb 1, 2024
1 parent affc4ad commit 7d8dee4
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ concurrency:

jobs:
build_arm64:
# https://github.com/actions/virtual-environments/blob/main/images/macos/macos-11-Readme.md
runs-on: macos-11
# https://github.com/actions/virtual-environments/blob/main/images/macos/macos-14-Readme.md
runs-on: macos-14
timeout-minutes: 90

steps:
Expand Down Expand Up @@ -48,10 +48,8 @@ jobs:
- name: Build Qt
working-directory: ./src
# We haven't succeeded to cross build Qt6 for arm64 on intel mac.
# Build a Universal macOS Binary for Qt6 as a workaround.
run: |
python3 build_tools/build_qt.py --release --confirm_license --macos_cpus=x86_64,arm64
python3 build_tools/build_qt.py --release --confirm_license --macos_cpus=arm64
echo "MOZC_QT_PATH=${PWD}/third_party/qt" >> $GITHUB_ENV
- name: bazel build
Expand Down

0 comments on commit 7d8dee4

Please sign in to comment.