File tree Expand file tree Collapse file tree 2 files changed +36
-1
lines changed
Expand file tree Collapse file tree 2 files changed +36
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Build and Test
2+
3+ on :
4+ push :
5+ branches : [ "main" ]
6+ pull_request :
7+ branches : [ "main" ]
8+ workflow_dispatch :
9+
10+ jobs :
11+ build :
12+ name : Build and Test using any available macOS
13+ strategy :
14+ fail-fast : false
15+ matrix :
16+ os : [macos-latest]
17+ xcode : [latest-stable]
18+ runs-on : ${{ matrix.os }}
19+ steps :
20+ - name : Checkout
21+ uses : actions/checkout@v3
22+
23+ - name : Build
24+ env :
25+ scheme : ${{ 'XcodeTargetGraphGen' }}
26+ platform : ${{ 'macOS' }}
27+ run : |
28+ xcodebuild build-for-testing -scheme "$scheme" -destination "platform=$platform"
29+
30+ - name : Test
31+ env :
32+ scheme : ${{ 'XcodeTargetGraphGen' }}
33+ platform : ${{ 'macOS' }}
34+ run : |
35+ xcodebuild test-without-building -scheme "$scheme" -destination "platform=$platform"
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import PackageDescription
66let package = Package (
77 name: " XcodeTargetGraphGen " ,
88 platforms: [
9- . macOS( . v13 )
9+ . macOS( . v12 )
1010 ] ,
1111 products: [
1212 . executable( name: " xcgraphgen " , targets: [ " XcodeTargetGraphGen " ] )
You can’t perform that action at this time.
0 commit comments