Skip to content

Commit 2b9a6fe

Browse files
committed
arm64 runner on CI
1 parent 61ef22b commit 2b9a6fe

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
@@ -9,11 +9,17 @@ on:
99
jobs:
1010
build-objective-git:
1111
name: Build objective-git
12-
runs-on: macOS-latest
12+
runs-on: ${{ matrix.os }}
1313
strategy:
1414
fail-fast: false
1515
matrix:
16+
os: [ macos-11 ]
17+
abi: [ x86_64 ]
1618
xcode: [ Xcode_14.2, Xcode_13.4 ]
19+
include:
20+
- xcode: Xcode
21+
os: ARM64
22+
abi: arm64
1723
steps:
1824
- name: ls Xcode
1925
run: ls -la /Applications/Xcode*
@@ -33,4 +39,4 @@ jobs:
3339
run: |
3440
openssl version
3541
- name: Test and archive project
36-
run: xcodebuild -workspace ObjectiveGitFramework.xcworkspace -scheme "ObjectiveGit Mac" test archive ARCHS="x86_64"
42+
run: xcodebuild -workspace ObjectiveGitFramework.xcworkspace -scheme "ObjectiveGit Mac" test archive ARCHS="${{ matrix.abi }}"

0 commit comments

Comments
 (0)