Skip to content

Merge branch 'release/sora-ios-sdk-2023.3.1' into develop #591

Merge branch 'release/sora-ios-sdk-2023.3.1' into develop

Merge branch 'release/sora-ios-sdk-2023.3.1' into develop #591

name: Build SimulcastSample
defaults:
run:
working-directory: ./SimulcastSample
on:
push:
paths-ignore:
- 'README.md'
- 'CHANGES.md'
- 'LICENSE'
schedule:
- cron: "0 0 * * *"
jobs:
build:
runs-on: macos-13
env:
XCODE: /Applications/Xcode_14.3.1.app
XCODE_SDK: iphoneos16.4
WORKSPACE: SimulcastSample
SCHEME: SimulcastSample
steps:
- uses: actions/checkout@v4
- name: Select Xcode Version
run: sudo xcode-select -s '${{ env.XCODE }}/Contents/Developer'
- name: Show Xcode Version
run: xcodebuild -version
- name: Show CocoaPods Version
run: pod --version
- name: Restore Pods
uses: actions/cache@v3
with:
path: Pods
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }}
restore-keys: |
${{ runner.os }}-pods-
- name: Install Dependences
run: |
pod repo update
pod install
- name: Create Environment.swift
run: |
cp SimulcastSample/Environment.example.swift SimulcastSample/Environment.swift
- name: Build Xcode Project
run: |
set -o pipefail && \
xcodebuild \
-workspace '${{ env.WORKSPACE }}.xcworkspace' \
-scheme '${{ env.SCHEME }}' \
-sdk ${{ env.XCODE_SDK }} \
-arch arm64 \
-configuration Release \
-derivedDataPath build \
clean build \
CODE_SIGNING_REQUIRED=NO \
CODE_SIGNING_ALLOWED=NO \
CODE_SIGN_IDENTITY= \
PROVISIONING_PROFILE=
# SwiftLint, SwiftFormat/CLI が Swift 5.8 に対応していないため一時的にコメントアウトする
#- name: Check uncommitted unformatted code
# run: |
# ./lint-format.sh