Skip to content

Commit 6c79fe5

Browse files
committed
arm64 runner on CI
1 parent d872ee9 commit 6c79fe5

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/BuildPR.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,17 @@ on: [ pull_request ]
55
jobs:
66
build-objective-git:
77
name: Build objective-git
8-
runs-on: macOS-latest
8+
runs-on: ${{ matrix.os }}
99
strategy:
1010
fail-fast: false
1111
matrix:
12+
os: [ macos-11 ]
13+
abi: [ x86_64 ]
1214
xcode: [ Xcode_12.4, Xcode_13.2.1 ]
15+
include:
16+
- xcode: Xcode
17+
os: ARM64
18+
abi: arm64
1319
steps:
1420
- name: ls Xcode
1521
run: ls -la /Applications/Xcode*
@@ -23,4 +29,4 @@ jobs:
2329
- name: pre build
2430
run: script/bootstrap && script/update_libgit2
2531
- name: Test and archive project
26-
run: xcodebuild -workspace ObjectiveGitFramework.xcworkspace -scheme "ObjectiveGit Mac" test archive ARCHS="x86_64"
32+
run: xcodebuild -workspace ObjectiveGitFramework.xcworkspace -scheme "ObjectiveGit Mac" test archive ARCHS="${{ matrix.abi }}"

0 commit comments

Comments
 (0)