File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed
Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ # This workflow will build a Swift project
2+ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift
3+
4+ name : Build
5+
6+ on :
7+ push :
8+ branches : [ "main" ]
9+ pull_request :
10+ branches : [ "main" ]
11+
12+ jobs :
13+ build :
14+ runs-on : macos-latest
15+ steps :
16+ - uses : actions/checkout@v4
17+ - name : Set up Xcode version
18+ run : sudo xcode-select -s /Applications/Xcode_16.2.app/Contents/Developer
19+ - name : Show available destinations
20+ run : xcodebuild -scheme Ignition -showdestinations
21+ - name : Build for macOS
22+ run : xcodebuild -scheme Ignition -destination 'platform=macOS' build
23+ - name : Build for Catalyst
24+ run : xcodebuild -scheme Ignition -destination 'platform=macOS,variant=Mac Catalyst' build
25+ - name : Build for iOS
26+ run : xcodebuild -scheme Ignition -destination 'platform=iOS Simulator,name=iPhone 16' build
27+ - name : Build for watchOS
28+ run : xcodebuild -scheme Ignition -destination 'platform=watchOS Simulator,name=Apple Watch Ultra 2 (49mm)' build
29+ - name : Build for tvOS
30+ run : xcodebuild -scheme Ignition -destination 'platform=tvOS Simulator,name=Apple TV 4K (3rd generation)' build
31+ - name : Build for visionOS
32+ run : xcodebuild -scheme Ignition -destination 'platform=visionOS Simulator,name=Apple Vision Pro' build
You can’t perform that action at this time.
0 commit comments