-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
130 additions
and
60 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains 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 |
---|---|---|
@@ -1,21 +1,20 @@ | ||
name: Build | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
paths-ignore: | ||
- 'README.md' | ||
- 'CHANGES.md' | ||
- 'LICENSE' | ||
- 'Sora.podspec' | ||
schedule: | ||
- cron: "0 0 * * *" | ||
|
||
jobs: | ||
build: | ||
runs-on: macos-14 | ||
env: | ||
XCODE: /Applications/Xcode_15.2.app | ||
XCODE_SDK: iphoneos17.2 | ||
XCODE: /Applications/Xcode_15.4.app | ||
XCODE_SDK: iphoneos17.5 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Select Xcode Version | ||
|
@@ -52,14 +51,32 @@ jobs: | |
- name: Check uncommitted unformatted code | ||
run: | | ||
./lint-format.sh | ||
- name: Slack Notification | ||
if: failure() | ||
uses: rtCamp/action-slack-notify@v2 | ||
env: | ||
SLACK_CHANNEL: sora-ios-sdk | ||
SLACK_COLOR: danger | ||
SLACK_TITLE: Build failed | ||
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} | ||
slack_notify_succeeded: | ||
needs: [build] | ||
runs-on: ubuntu-latest | ||
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-latest | ||
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 }} | ||
release: | ||
if: contains(github.ref, 'tags/v') | ||
needs: [build] | ||
|
@@ -69,6 +86,7 @@ jobs: | |
uses: actions/checkout@v4 | ||
- name: Create Release | ||
id: create_release | ||
# TODO: https://github.com/softprops/action-gh-release への置き換えを検討する | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
This file contains 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
This file contains 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
This file contains 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
This file contains 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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
source 'https://cdn.cocoapods.org/' | ||
source 'https://github.com/shiguredo/sora-ios-sdk-specs.git' | ||
source 'https://github.com/CocoaPods/Specs.git' | ||
|
||
platform :ios, '13.0' | ||
|
||
target 'Sora' do | ||
use_frameworks! | ||
pod 'WebRTC', '122.6261.1.0' | ||
pod 'WebRTC', '127.6533.1.1' | ||
end |
This file contains 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 |
---|---|---|
@@ -1,11 +1,11 @@ | ||
source 'https://cdn.cocoapods.org/' | ||
source 'https://github.com/shiguredo/sora-ios-sdk-specs.git' | ||
source 'https://github.com/CocoaPods/Specs.git' | ||
|
||
platform :ios, '13.0' | ||
|
||
target 'Sora' do | ||
use_frameworks! | ||
pod 'WebRTC', '122.6261.1.0' | ||
pod 'WebRTC', '127.6533.1.1' | ||
pod 'SwiftLint', '0.51.0' | ||
pod 'SwiftFormat/CLI', '0.53.2' | ||
end |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.