Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 19 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@ jobs:
strategy:
matrix:
config: [
{mac_ver: "11", xc_ver: "13.2.1", os: "15.2", iphone_ver: "13"},
{mac_ver: "12", xc_ver: "13.4.1", os: "15.5", iphone_ver: "13"},
{mac_ver: "13", xc_ver: "14.3", os: "16.4", iphone_ver: "14"},
{mac_ver: "13", xc_ver: "15.0", os: "17.0", iphone_ver: "15"}
{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
Expand All @@ -28,25 +29,29 @@ jobs:
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 iphoneos \
-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"
CODE_SIGNING_ALLOWED="NO" \
ARCHS="x86_64"

run-unit-tests:
strategy:
matrix:
config: [
{mac_ver: "11", xc_ver: "13.2.1", os: "15.2", iphone_ver: "13"},
{mac_ver: "12", xc_ver: "13.4.1", os: "15.5", iphone_ver: "13"},
{mac_ver: "13", xc_ver: "14.3", os: "16.4", iphone_ver: "14"},
{mac_ver: "13", xc_ver: "15.0", os: "17.0.1", iphone_ver: "15"}
{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
Expand All @@ -64,13 +69,14 @@ jobs:
run: |
set -o pipefail && xcodebuild clean test -workspace Swift/AWSKinesisVideoWebRTCDemoApp.xcworkspace \
-scheme AWSKinesisVideoWebRTCDemoApp \
-sdk iphoneos \
-sdk iphonesimulator \
-resultBundlePath TestResults \
-enableCodeCoverage YES \
-destination 'platform=iOS Simulator,OS=${{ matrix.config.os }},name=iPhone ${{ matrix.config.iphone_ver }}' \
'-only-testing:AWSKinesisVideoWebRTCDemoAppTests' | xcpretty
'-only-testing:AWSKinesisVideoWebRTCDemoAppTests' \
ARCHS="x86_64" | xcpretty
- name: Publish results
uses: kishikawakatsumi/xcresulttool@v1
uses: slidoapp/xcresulttool@v3.1.0
with:
title: Test results (OS ${{ matrix.config.os }})
path: TestResults.xcresult
Expand Down
4 changes: 2 additions & 2 deletions Swift/AWSKinesisVideoWebRTCDemoApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
Expand Down Expand Up @@ -763,7 +763,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
MTL_ENABLE_DEBUG_INFO = NO;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
Expand Down
2 changes: 1 addition & 1 deletion Swift/Podfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$iOSVersion = '11.0'
$iOSVersion = '12.0'

platform :ios, $iOSVersion
use_frameworks!
Expand Down
Loading