-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: add script and GHA configuration to launch local HLS server #233
Open
andrewjl-mux
wants to merge
7
commits into
master
Choose a base branch
from
ajlb/test/hls-session-test
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
3e19c91
ci: add script and GHA configuration to launch local HLS server
andrewjl-mux 28d7491
test: add test for custom session data
andrewjl-mux 79189d9
ci: merge tasks
andrewjl-mux 461b848
ci: use Xcode 15.3
andrewjl-mux e53c85a
ci: use subshell
andrewjl-mux 50869c2
ci: run on sonoma
andrewjl-mux adf749e
ci: run on self-hosted environment
andrewjl-mux File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
46 changes: 46 additions & 0 deletions
46
apps/MUXSDKStatsExampleSPM/MUXSDKStatsExampleSPM-CI.xctestplan
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 |
---|---|---|
@@ -0,0 +1,46 @@ | ||
{ | ||
"configurations" : [ | ||
{ | ||
"id" : "C9F5DF09-2B97-41D0-AEFF-9DDFA7BF2B96", | ||
"name" : "Test Scheme Action", | ||
"options" : { | ||
|
||
} | ||
} | ||
], | ||
"defaultOptions" : { | ||
"environmentVariableEntries" : [ | ||
{ | ||
"key" : "ENV_KEY", | ||
"value" : "" | ||
}, | ||
{ | ||
"key" : "PLAYBACK_ID", | ||
"value" : "" | ||
} | ||
], | ||
"targetForVariableExpansion" : { | ||
"containerPath" : "container:MUXSDKStatsExampleSPM.xcodeproj", | ||
"identifier" : "19CB35CB2ABD2B5C002DF48C", | ||
"name" : "MUXSDKStatsExampleSPM" | ||
} | ||
}, | ||
"testTargets" : [ | ||
{ | ||
"enabled" : false, | ||
"target" : { | ||
"containerPath" : "container:MUXSDKStatsExampleSPM.xcodeproj", | ||
"identifier" : "19CB35E12ABD2B5D002DF48C", | ||
"name" : "MUXSDKStatsExampleSPMTests" | ||
} | ||
}, | ||
{ | ||
"target" : { | ||
"containerPath" : "container:MUXSDKStatsExampleSPM.xcodeproj", | ||
"identifier" : "19CB35EB2ABD2B5D002DF48C", | ||
"name" : "MUXSDKStatsExampleSPMUITests" | ||
} | ||
} | ||
], | ||
"version" : 1 | ||
} |
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
116 changes: 116 additions & 0 deletions
116
.../MUXSDKStatsExampleSPM.xcodeproj/xcshareddata/xcschemes/MUXSDKStatsExampleSPM-CI.xcscheme
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 |
---|---|---|
@@ -0,0 +1,116 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Scheme | ||
LastUpgradeVersion = "1500" | ||
version = "1.7"> | ||
<BuildAction | ||
parallelizeBuildables = "YES" | ||
buildImplicitDependencies = "YES"> | ||
<BuildActionEntries> | ||
<BuildActionEntry | ||
buildForTesting = "YES" | ||
buildForRunning = "YES" | ||
buildForProfiling = "YES" | ||
buildForArchiving = "YES" | ||
buildForAnalyzing = "YES"> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "19CB35CB2ABD2B5C002DF48C" | ||
BuildableName = "MUXSDKStatsExampleSPM.app" | ||
BlueprintName = "MUXSDKStatsExampleSPM" | ||
ReferencedContainer = "container:MUXSDKStatsExampleSPM.xcodeproj"> | ||
</BuildableReference> | ||
</BuildActionEntry> | ||
</BuildActionEntries> | ||
</BuildAction> | ||
<TestAction | ||
buildConfiguration = "Debug" | ||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
shouldUseLaunchSchemeArgsEnv = "YES"> | ||
<TestPlans> | ||
<TestPlanReference | ||
reference = "container:MUXSDKStatsExampleSPM-CI.xctestplan" | ||
default = "YES"> | ||
</TestPlanReference> | ||
</TestPlans> | ||
<Testables> | ||
<TestableReference | ||
skipped = "YES"> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "19CB35E12ABD2B5D002DF48C" | ||
BuildableName = "MUXSDKStatsExampleSPMTests.xctest" | ||
BlueprintName = "MUXSDKStatsExampleSPMTests" | ||
ReferencedContainer = "container:MUXSDKStatsExampleSPM.xcodeproj"> | ||
</BuildableReference> | ||
</TestableReference> | ||
<TestableReference | ||
skipped = "NO"> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "19CB35EB2ABD2B5D002DF48C" | ||
BuildableName = "MUXSDKStatsExampleSPMUITests.xctest" | ||
BlueprintName = "MUXSDKStatsExampleSPMUITests" | ||
ReferencedContainer = "container:MUXSDKStatsExampleSPM.xcodeproj"> | ||
</BuildableReference> | ||
</TestableReference> | ||
</Testables> | ||
</TestAction> | ||
<LaunchAction | ||
buildConfiguration = "Debug" | ||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
launchStyle = "0" | ||
useCustomWorkingDirectory = "NO" | ||
ignoresPersistentStateOnLaunch = "NO" | ||
debugDocumentVersioning = "YES" | ||
debugServiceExtension = "internal" | ||
allowLocationSimulation = "YES"> | ||
<BuildableProductRunnable | ||
runnableDebuggingMode = "0"> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "19CB35CB2ABD2B5C002DF48C" | ||
BuildableName = "MUXSDKStatsExampleSPM.app" | ||
BlueprintName = "MUXSDKStatsExampleSPM" | ||
ReferencedContainer = "container:MUXSDKStatsExampleSPM.xcodeproj"> | ||
</BuildableReference> | ||
</BuildableProductRunnable> | ||
<EnvironmentVariables> | ||
<EnvironmentVariable | ||
key = "ENV_KEY" | ||
value = "" | ||
isEnabled = "YES"> | ||
</EnvironmentVariable> | ||
<EnvironmentVariable | ||
key = "PLAYBACK_ID" | ||
value = "" | ||
isEnabled = "YES"> | ||
</EnvironmentVariable> | ||
</EnvironmentVariables> | ||
</LaunchAction> | ||
<ProfileAction | ||
buildConfiguration = "Release" | ||
shouldUseLaunchSchemeArgsEnv = "YES" | ||
savedToolIdentifier = "" | ||
useCustomWorkingDirectory = "NO" | ||
debugDocumentVersioning = "YES"> | ||
<BuildableProductRunnable | ||
runnableDebuggingMode = "0"> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "19CB35CB2ABD2B5C002DF48C" | ||
BuildableName = "MUXSDKStatsExampleSPM.app" | ||
BlueprintName = "MUXSDKStatsExampleSPM" | ||
ReferencedContainer = "container:MUXSDKStatsExampleSPM.xcodeproj"> | ||
</BuildableReference> | ||
</BuildableProductRunnable> | ||
</ProfileAction> | ||
<AnalyzeAction | ||
buildConfiguration = "Debug"> | ||
</AnalyzeAction> | ||
<ArchiveAction | ||
buildConfiguration = "Release" | ||
revealArchiveInOrganizer = "YES"> | ||
</ArchiveAction> | ||
</Scheme> |
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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The test that'll use the local HLS server is skipped when running the non-CI app scheme.