-
Notifications
You must be signed in to change notification settings - Fork 95
Create objective-c-xcode.yml #324
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 26 commits
06ba227
d2d35e0
f622606
3d48e4c
5e7ea71
95d2b3b
5eb46ed
527e499
86b6d64
866d288
5d7c254
a0f8b26
8650933
05cb535
fa4dfcd
a81414c
f414498
7092e16
0858fcd
e1d7369
e7ad4a8
89dd6e3
454fdae
37f9e47
e6d58cb
ba5525d
0061013
f456359
51a33ee
2a79c91
3fc23b6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,49 @@ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| name: Xcode - Build and Analyze | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| on: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| push: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| branches: [ "main" ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| pull_request: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| branches: [ "main" ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| permissions: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| contents: read | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| jobs: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| build: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| name: Build and analyze using xcodebuild for all supported architectures | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| runs-on: macos-latest | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| steps: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - name: Set Xcode version | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| uses: maxim-lobanov/setup-xcode@v1 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| with: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| xcode-version: latest-stable | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - name: Checkout | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| uses: actions/checkout@v6 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - name: Build for macOS | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| run: | | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| scheme="SFBAudioEngine" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| destination="generic/platform=macOS" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| xcodebuild clean build analyze -scheme "$scheme" -destination "$destination" -disableAutomaticPackageResolution | xcpretty && exit ${PIPESTATUS[0]} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sbooth marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - name: Build for iOS | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| run: | | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| scheme="SFBAudioEngine" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| destination="generic/platform=iOS" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| xcodebuild clean build analyze -scheme "$scheme" -destination "$destination" -disableAutomaticPackageResolution | xcpretty && exit ${PIPESTATUS[0]} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - name: Build for tvOS | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| run: | | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| scheme="SFBAudioEngine" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| destination="generic/platform=tvOS" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| xcodebuild clean build analyze -scheme "$scheme" -destination "$destination" -disableAutomaticPackageResolution | xcpretty && exit ${PIPESTATUS[0]} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - name: Build for Mac Catalyst | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| run: | | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| scheme="SFBAudioEngine" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| destination="generic/platform=macOS,variant=Mac Catalyst" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| xcodebuild clean build analyze -scheme "$scheme" -destination "$destination" -disableAutomaticPackageResolution | xcpretty && exit ${PIPESTATUS[0]} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - name: Build for iOS Simulator | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| run: | | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| scheme="SFBAudioEngine" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| destination="generic/platform=iOS Simulator" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| xcodebuild clean build analyze -scheme "$scheme" -destination "$destination" -disableAutomaticPackageResolution | xcpretty && exit ${PIPESTATUS[0]} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - name: Build for tvOS Simulator | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| run: | | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| scheme="SFBAudioEngine" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| destination="generic/platform=tvOS Simulator" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| xcodebuild clean build analyze -scheme "$scheme" -destination "$destination" -disableAutomaticPackageResolution | xcpretty && exit ${PIPESTATUS[0]} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - name: Build for macOS | |
| run: | | |
| scheme="SFBAudioEngine" | |
| destination="generic/platform=macOS" | |
| xcodebuild clean build analyze -scheme "$scheme" -destination "$destination" -disableAutomaticPackageResolution | xcpretty && exit ${PIPESTATUS[0]} | |
| - name: Build for iOS | |
| run: | | |
| scheme="SFBAudioEngine" | |
| destination="generic/platform=iOS" | |
| xcodebuild clean build analyze -scheme "$scheme" -destination "$destination" -disableAutomaticPackageResolution | xcpretty && exit ${PIPESTATUS[0]} | |
| - name: Build for tvOS | |
| run: | | |
| scheme="SFBAudioEngine" | |
| destination="generic/platform=tvOS" | |
| xcodebuild clean build analyze -scheme "$scheme" -destination "$destination" -disableAutomaticPackageResolution | xcpretty && exit ${PIPESTATUS[0]} | |
| - name: Build for Mac Catalyst | |
| run: | | |
| scheme="SFBAudioEngine" | |
| destination="generic/platform=macOS,variant=Mac Catalyst" | |
| xcodebuild clean build analyze -scheme "$scheme" -destination "$destination" -disableAutomaticPackageResolution | xcpretty && exit ${PIPESTATUS[0]} | |
| - name: Build for iOS Simulator | |
| run: | | |
| scheme="SFBAudioEngine" | |
| destination="generic/platform=iOS Simulator" | |
| xcodebuild clean build analyze -scheme "$scheme" -destination "$destination" -disableAutomaticPackageResolution | xcpretty && exit ${PIPESTATUS[0]} | |
| - name: Build for tvOS Simulator | |
| run: | | |
| scheme="SFBAudioEngine" | |
| destination="generic/platform=tvOS Simulator" | |
| xcodebuild clean build analyze -scheme "$scheme" -destination "$destination" -disableAutomaticPackageResolution | xcpretty && exit ${PIPESTATUS[0]} | |
| - name: Build (SwiftPM) | |
| run: | | |
| swift build --build-tests | |
| - name: Test (SwiftPM) | |
| run: | | |
| swift test |
Uh oh!
There was an error while loading. Please reload this page.