-
Notifications
You must be signed in to change notification settings - Fork 98
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
Open
sbooth
wants to merge
32
commits into
main
Choose a base branch
from
workflows
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
06ba227
Create objective-c-xcode.yml
sbooth d2d35e0
Update objective-c-xcode.yml
sbooth f622606
Merge branch 'main' into workflows
sbooth 3d48e4c
Update objective-c-xcode.yml
sbooth 5e7ea71
Merge branch 'main' into workflows
sbooth 95d2b3b
Update objective-c-xcode.yml
sbooth 5eb46ed
Merge branch 'main' into workflows
sbooth 527e499
Merge branch 'main' into workflows
sbooth 86b6d64
Merge branch 'main' into workflows
sbooth 866d288
Use latest stable version of Xcode
sbooth 5d7c254
Update objective-c-xcode.yml
sbooth a0f8b26
Merge branch 'main' into workflows
sbooth 8650933
Merge branch 'main' into workflows
sbooth 05cb535
Merge branch 'main' into workflows
sbooth fa4dfcd
Merge branch 'main' into workflows
sbooth a81414c
Merge branch 'main' into workflows
sbooth f414498
Merge branch 'main' into workflows
sbooth 7092e16
Merge branch 'main' into workflows
sbooth 0858fcd
Merge branch 'main' into workflows
sbooth e1d7369
Merge branch 'main' into workflows
sbooth e7ad4a8
Merge branch 'main' into workflows
sbooth 89dd6e3
Add permissions for GitHub Actions workflow
sbooth 454fdae
Update checkout action to version 6
sbooth 37f9e47
Merge branch 'main' into workflows
sbooth e6d58cb
Merge branch 'main' into workflows
sbooth ba5525d
Update Xcode workflow permissions and cleanup
sbooth 0061013
Merge branch 'main' into workflows
sbooth f456359
Update xcodebuild commands to remove package resolution flag
sbooth 51a33ee
Merge branch 'main' into workflows
sbooth 2a79c91
Merge branch 'main' into workflows
sbooth 3fc23b6
Merge branch 'main' into workflows
sbooth a6f9bd5
Merge branch 'main' into workflows
sbooth File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,52 @@ | ||
| 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: Install xcpretty | ||
| run: | ||
| gem install xcpretty | ||
| - name: Build for macOS | ||
| run: | | ||
| scheme="SFBAudioEngine" | ||
| destination="generic/platform=macOS" | ||
| xcodebuild clean build analyze -scheme "$scheme" -destination "$destination" | xcpretty && exit ${PIPESTATUS[0]} | ||
| - name: Build for iOS | ||
| run: | | ||
| scheme="SFBAudioEngine" | ||
| destination="generic/platform=iOS" | ||
| xcodebuild clean build analyze -scheme "$scheme" -destination "$destination" | xcpretty && exit ${PIPESTATUS[0]} | ||
| - name: Build for tvOS | ||
| run: | | ||
| scheme="SFBAudioEngine" | ||
| destination="generic/platform=tvOS" | ||
| xcodebuild clean build analyze -scheme "$scheme" -destination "$destination" | 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" | 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" | 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" | xcpretty && exit ${PIPESTATUS[0]} | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.