version 1 completed #5
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
| # .github/workflows/ci.yml | |
| name: CI | |
| on: [push, pull_request] | |
| jobs: | |
| ios-build: | |
| continue-on-error: true | |
| runs-on: macos-15 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: maxim-lobanov/setup-xcode@v1 | |
| with: { xcode-version: "16.x" } | |
| - run: | | |
| set -o pipefail | |
| xcodebuild \ | |
| -project SleepTrigger.xcodeproj \ | |
| -scheme "SleepTrigger" \ | |
| -destination "generic/platform=iOS Simulator" \ | |
| CODE_SIGNING_ALLOWED=NO \ | |
| clean build | |
| macos-build: | |
| continue-on-error: true | |
| runs-on: macos-15 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: maxim-lobanov/setup-xcode@v1 | |
| with: { xcode-version: "16.x" } | |
| - run: | | |
| set -o pipefail | |
| xcodebuild \ | |
| -project SleepTrigger.xcodeproj \ | |
| -scheme "SleepTriggerMac" \ | |
| -destination "platform=macOS" \ | |
| CODE_SIGNING_ALLOWED=NO \ | |
| clean build | |
| watchos-build: | |
| runs-on: macos-15 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: maxim-lobanov/setup-xcode@v1 | |
| with: { xcode-version: "16.x" } | |
| - run: | | |
| set -o pipefail | |
| xcodebuild \ | |
| -project SleepTrigger.xcodeproj \ | |
| -scheme "SleepTriggerWatchOS Watch App" \ | |
| -destination "generic/platform=watchOS Simulator" \ | |
| CODE_SIGNING_ALLOWED=NO \ | |
| clean build |