Sync repo-template contract with current upstream wording #18
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
| name: Build & Test | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| build: | |
| runs-on: macos-15 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Select Xcode | |
| run: sudo xcode-select -s /Applications/Xcode.app | |
| - name: Build | |
| run: | | |
| xcodebuild build \ | |
| -project Markfops.xcodeproj \ | |
| -scheme Markfops \ | |
| -destination 'platform=macOS' \ | |
| CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO \ | |
| | xcpretty || xcodebuild build \ | |
| -project Markfops.xcodeproj \ | |
| -scheme Markfops \ | |
| -destination 'platform=macOS' \ | |
| CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | |
| - name: Test | |
| run: | | |
| xcodebuild test \ | |
| -project Markfops.xcodeproj \ | |
| -scheme MarkfopsTests \ | |
| -destination 'platform=macOS' \ | |
| CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO \ | |
| | xcpretty || true |