RPC メソッドのパラメータ / 結果の rid を Rid 型にする #2510
Workflow file for this run
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 | |
| on: | |
| workflow_dispatch: | |
| push: | |
| paths-ignore: | |
| - 'README.md' | |
| - 'CHANGES.md' | |
| - 'LICENSE' | |
| jobs: | |
| build: | |
| runs-on: macos-15 | |
| env: | |
| XCODE: /Applications/Xcode_16.3.app | |
| XCODE_SDK: iphoneos18.4 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Select Xcode Version | |
| run: sudo xcode-select -s '${{ env.XCODE }}/Contents/Developer' | |
| - name: Show Xcode Version | |
| run: xcodebuild -version | |
| - name: Build Xcode Project | |
| run: | | |
| set -o pipefail && \ | |
| xcodebuild \ | |
| -scheme 'Sora' \ | |
| -sdk ${{ env.XCODE_SDK }} \ | |
| -configuration Release \ | |
| -derivedDataPath build \ | |
| -destination 'generic/platform=iOS' \ | |
| clean build \ | |
| CODE_SIGNING_REQUIRED=NO \ | |
| CODE_SIGN_IDENTITY= \ | |
| PROVISIONING_PROFILE= | |
| - name: Check WebRTC Non-public API | |
| run: | | |
| WEBRTC_FRAMEWORK=$(find build -name "WebRTC.framework" -path "*/WebRTC.xcframework/ios-arm64/*" | head -1) | |
| if [ -n "$WEBRTC_FRAMEWORK" ] && nm "$WEBRTC_FRAMEWORK/WebRTC" | grep _kVTVideoEncoderSpecification_RequiredLowLatency >/dev/null 2>&1; then | |
| echo 'Error: Non-public API detected in WebRTC framework.' | |
| exit 1 | |
| fi | |
| - name: Format Lint | |
| run: | | |
| make fmt-lint | |
| - name: Lint | |
| run: | | |
| make lint | |
| slack_notify_succeeded: | |
| needs: [build] | |
| runs-on: ubuntu-24.04 | |
| if: success() | |
| steps: | |
| - name: Slack Notification | |
| uses: rtCamp/action-slack-notify@v2 | |
| env: | |
| SLACK_CHANNEL: sora-ios-sdk | |
| SLACK_COLOR: good | |
| SLACK_TITLE: SUCCEEDED | |
| SLACK_ICON_EMOJI: ":star-struck:" | |
| SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} | |
| slack_notify_failed: | |
| needs: [build] | |
| runs-on: ubuntu-24.04 | |
| if: failure() | |
| steps: | |
| - name: Slack Notification | |
| uses: rtCamp/action-slack-notify@v2 | |
| env: | |
| SLACK_CHANNEL: sora-ios-sdk | |
| SLACK_COLOR: danger | |
| SLACK_TITLE: "FAILED" | |
| SLACK_ICON_EMOJI: ":japanese_ogre:" | |
| SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} |