Skip to content

Commit 35360da

Browse files
authored
Merge pull request laullon#218 from gitx/BuildMultipleXCodeVersions
Build multiple Xcode versions
2 parents febcfcd + d01e3a7 commit 35360da

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/BuildPR.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,17 @@ jobs:
66
build-gitx:
77
name: build-gitx
88
runs-on: macOS-latest
9+
strategy:
10+
matrix:
11+
xcode: [Xcode_12.2, Xcode_12.3, Xcode_12.4]
912
steps:
1013
- name: Checkout
1114
uses: actions/[email protected]
1215
with:
1316
fetch-depth: 0
1417
submodules: recursive
1518
- name: Set XCode Version
16-
run: sudo xcode-select -s /Applications/Xcode_12.2.app
19+
run: sudo xcode-select -s /Applications/${{ matrix.xcode }}.app
1720
- name: pre build
1821
run: cd External/objective-git && script/bootstrap && script/update_libgit2 && cd ../..
1922
- name: Build project

0 commit comments

Comments
 (0)