Fix KVSSigner iso8601() issue with 12-hour format (#94) #110
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: WebRTC iOS SDK CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build-sample-app: | |
strategy: | |
matrix: | |
config: [ | |
{mac_ver: "13", xc_ver: "15.2", os: "17.2", iphone_ver: "14"}, | |
{mac_ver: "14", xc_ver: "15.4", os: "17.5", iphone_ver: "15"}, | |
{mac_ver: "15", xc_ver: "15.4", os: "17.5", iphone_ver: "15 Pro"}, | |
{mac_ver: "15", xc_ver: "16.0", os: "18.0", iphone_ver: "16"} | |
] | |
fail-fast: false | |
runs-on: macos-${{ matrix.config.mac_ver }} | |
steps: | |
- name: Git - Checkout | |
uses: actions/checkout@master | |
- name: Setup - Xcode | |
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.config.xc_ver }}.app | |
- name: Install dependencies | |
run: | | |
cd Swift | |
pod setup | |
pod install --repo-update | |
lipo -info Pods/GoogleWebRTC/Frameworks/frameworks/WebRTC.framework/WebRTC | |
- name: XCode Build | |
run: | | |
xcodebuild clean build -workspace Swift/AWSKinesisVideoWebRTCDemoApp.xcworkspace \ | |
-scheme AWSKinesisVideoWebRTCDemoApp \ | |
-sdk iphonesimulator \ | |
-destination 'platform=iOS Simulator,OS=${{ matrix.config.os }},name=iPhone ${{ matrix.config.iphone_ver }}' \ | |
CODE_SIGN_IDENTITY="" \ | |
CODE_SIGNING_REQUIRED="NO" \ | |
CODE_SIGN_ENTITLEMENTS="" \ | |
CODE_SIGNING_ALLOWED="NO" \ | |
ARCHS="x86_64" | |
run-unit-tests: | |
strategy: | |
matrix: | |
config: [ | |
{mac_ver: "13", xc_ver: "15.2", os: "17.2", iphone_ver: "14"}, | |
{mac_ver: "14", xc_ver: "15.4", os: "17.5", iphone_ver: "15"}, | |
{mac_ver: "15", xc_ver: "15.4", os: "17.5", iphone_ver: "15 Pro"}, | |
{mac_ver: "15", xc_ver: "16.0", os: "18.0", iphone_ver: "16"} | |
] | |
fail-fast: false | |
runs-on: macos-${{ matrix.config.mac_ver }} | |
steps: | |
- name: Git - Checkout | |
uses: actions/checkout@master | |
- name: Modify constants | |
run: sed -i '' 's/Unknown/USWest2/g' Swift/KVSiOSApp/Constants.swift | |
- name: Setup - Xcode | |
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.config.xc_ver }}.app | |
- name: Install dependencies | |
run: | | |
cd Swift | |
pod setup | |
pod install --repo-update | |
- name: XCode Test | |
run: | | |
set -o pipefail && xcodebuild clean test -workspace Swift/AWSKinesisVideoWebRTCDemoApp.xcworkspace \ | |
-scheme AWSKinesisVideoWebRTCDemoApp \ | |
-sdk iphonesimulator \ | |
-resultBundlePath TestResults \ | |
-enableCodeCoverage YES \ | |
-destination 'platform=iOS Simulator,OS=${{ matrix.config.os }},name=iPhone ${{ matrix.config.iphone_ver }}' \ | |
'-only-testing:AWSKinesisVideoWebRTCDemoAppTests' \ | |
ARCHS="x86_64" | xcpretty | |
- name: Publish results | |
uses: slidoapp/[email protected] | |
with: | |
title: Test results (OS ${{ matrix.config.os }}) | |
path: TestResults.xcresult | |
upload-bundles: never | |
if: success() || failure() |