Skip to content

Commit

Permalink
ci: enable arm64 macOS builds
Browse files Browse the repository at this point in the history
  • Loading branch information
rcoup committed Oct 16, 2023
1 parent 35eb041 commit 590fe1c
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,13 @@ jobs:
macOS:
strategy:
matrix:
os: [{id: macos-12, label: "12/x86_64"}]
os:
- id: macos-12
label: "12/x86_64"
arch_triplet: x64-osx
- id: macos-13-xlarge
label: "13/arm64"
arch_triplet: arm64-osx
runs-on: ${{ matrix.os.id }}
name: macOS ${{ matrix.os.label }}

Expand All @@ -735,6 +741,7 @@ jobs:
env:
CCACHE_DIR: ${{ github.workspace }}/.cache/ccache
CCACHE_COMPRESS: "1"
ARCH_TRIPLET: ${{ matrix.os.arch_triplet }}
HOMEBREW_CACHE: ${{ github.workspace }}/.cache/brew
HOMEBREW_NO_INSTALL_CLEANUP: "1"
MACOS_CODESIGN_ID: ${{ secrets.MACOS_CODESIGN_ID }}
Expand Down Expand Up @@ -790,7 +797,7 @@ jobs:

- name: "setup: misc"
run: |
brew install -q autoconf automake ccache pandoc pkg-config
brew install -q autoconf automake ccache pandoc pkg-config libtool
mkdir -p ${{ env.CCACHE_DIR }}
echo "$(brew --prefix)/opt/ccache/libexec" >> $GITHUB_PATH
Expand Down Expand Up @@ -959,7 +966,7 @@ jobs:
sudo installer -pkg build/dist/Kart-*.pkg -dumplog -target /
readlink $(which kart)
# make sure good sqlite is in path
export PATH="$(pwd)/build/vcpkg_installed/x64-osx/tools:$PATH"
export PATH="$(pwd)/build/vcpkg_installed/${{ env.ARCH_TRIPLET }}-osx/tools:$PATH"
tests/scripts/e2e-1.sh
- name: "release"
Expand Down

0 comments on commit 590fe1c

Please sign in to comment.