File tree Expand file tree Collapse file tree 1 file changed +27
-11
lines changed
Expand file tree Collapse file tree 1 file changed +27
-11
lines changed Original file line number Diff line number Diff line change 1- # This workflow will build a xcode project
2-
31name : xcode
42
53on :
64 push :
7- branches : [ "main" ]
5+ branches : ["main"]
86 pull_request :
9- branches : [ "main" ]
7+ branches : ["main"]
108
119jobs :
1210 build :
13-
1411 runs-on : macos-latest
15-
1612 steps :
17- - uses : actions/checkout@v4
18- - name : Build
19- run : xcodebuild -scheme MiddleQuit
20- - name : Run tests
21- run : xcodetest -scheme MiddleQuit
13+ - uses : actions/checkout@v4
14+
15+ - name : Select Xcode 26.1
16+ uses : maxim-lobanov/setup-xcode@v1
17+ with :
18+ xcode-version : " 26.1"
19+
20+ - name : Build
21+ run : |
22+ xcodebuild \
23+ -project Xcode/MiddleQuit.xcodeproj \
24+ -scheme MiddleQuit \
25+ -configuration Release \
26+ -sdk macosx \
27+ CODE_SIGNING_ALLOWED=NO \
28+ build
29+
30+ - name : Test
31+ run : |
32+ xcodebuild \
33+ -project Xcode/MiddleQuit.xcodeproj \
34+ -scheme MiddleQuit \
35+ -destination 'platform=macOS' \
36+ CODE_SIGNING_ALLOWED=NO \
37+ test
You can’t perform that action at this time.
0 commit comments