Skip to content

Commit

Permalink
arm64 runner on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesa2 committed Dec 20, 2023
1 parent c562788 commit a87bc8e
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/BuildPR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,17 @@ on: [ pull_request ]
jobs:
build-objective-git:
name: Build objective-git
runs-on: macOS-latest
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ macos-11 ]
abi: [ x86_64 ]
xcode: [ Xcode_14.2, Xcode_13.4 ]
include:
- xcode: Xcode
os: ARM64
abi: arm64
steps:
- name: ls Xcode
run: ls -la /Applications/Xcode*
Expand All @@ -23,4 +29,4 @@ jobs:
- name: pre build
run: script/bootstrap && script/update_libgit2
- name: Test and archive project
run: xcodebuild -workspace ObjectiveGitFramework.xcworkspace -scheme "ObjectiveGit Mac" test archive ARCHS="x86_64"
run: xcodebuild -workspace ObjectiveGitFramework.xcworkspace -scheme "ObjectiveGit Mac" test archive ARCHS="${{ matrix.abi }}"

0 comments on commit a87bc8e

Please sign in to comment.