Skip to content

Commit 3075cbd

Browse files
committed
Initial implementation
1 parent 05972e0 commit 3075cbd

34 files changed

+2181
-4
lines changed

.github/workflows/ci.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- '*'
10+
workflow_dispatch:
11+
12+
concurrency:
13+
group: ci-${{ github.ref }}
14+
cancel-in-progress: true
15+
16+
jobs:
17+
lint:
18+
name: Lint
19+
runs-on: macos-14
20+
steps:
21+
- uses: actions/checkout@v4
22+
23+
- name: Install tools
24+
run: brew install swiftlint
25+
26+
- name: Run SwiftLint
27+
run: make lint
28+
29+
build:
30+
name: Build
31+
runs-on: macos-14
32+
strategy:
33+
matrix:
34+
config: ['debug', 'release']
35+
steps:
36+
- uses: actions/checkout@v4
37+
38+
- name: Install tools
39+
run: gem install xcpretty
40+
41+
- uses: maxim-lobanov/setup-xcode@v1
42+
with:
43+
xcode-version: latest-stable
44+
45+
- name: Build platforms in ${{ matrix.config }}
46+
run: make CONFIG=${{ matrix.config }} build-all-platforms

.gitignore

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,16 +37,15 @@ playground.xcworkspace
3737
# Swift Package Manager
3838
#
3939
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
40-
# Packages/
4140
# Package.pins
4241
# Package.resolved
4342
# *.xcodeproj
4443
#
4544
# Xcode automatically generates this directory with a .xcworkspacedata file and xcuserdata
4645
# hence it is not needed unless you have added a package configuration file to your project
47-
# .swiftpm
48-
46+
.swiftpm/
4947
.build/
48+
Packages/
5049

5150
# CocoaPods
5251
#
@@ -88,3 +87,5 @@ fastlane/test_output
8887
# https://github.com/johnno1962/injectionforxcode
8988

9089
iOSInjectionProject/
90+
91+
.DS_Store

.swiftlint.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
included:
2+
- Sources
3+
- Tests
4+
- Example
5+
- Package.swift
6+
excluded:
7+
- .build

ChunkedAudioPlayer.xcworkspace/contents.xcworkspacedata

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>IDEDidComputeMac32BitWarning</key>
6+
<true/>
7+
</dict>
8+
</plist>
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "1530"
4+
version = "1.7">
5+
<BuildAction
6+
parallelizeBuildables = "YES"
7+
buildImplicitDependencies = "YES">
8+
<BuildActionEntries>
9+
<BuildActionEntry
10+
buildForTesting = "YES"
11+
buildForRunning = "YES"
12+
buildForProfiling = "YES"
13+
buildForArchiving = "YES"
14+
buildForAnalyzing = "YES">
15+
<BuildableReference
16+
BuildableIdentifier = "primary"
17+
BlueprintIdentifier = "ChunkedAudioPlayer"
18+
BuildableName = "ChunkedAudioPlayer"
19+
BlueprintName = "ChunkedAudioPlayer"
20+
ReferencedContainer = "container:">
21+
</BuildableReference>
22+
</BuildActionEntry>
23+
</BuildActionEntries>
24+
</BuildAction>
25+
<TestAction
26+
buildConfiguration = "Debug"
27+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
28+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29+
shouldUseLaunchSchemeArgsEnv = "YES"
30+
shouldAutocreateTestPlan = "YES">
31+
</TestAction>
32+
<LaunchAction
33+
buildConfiguration = "Debug"
34+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
35+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
36+
launchStyle = "0"
37+
useCustomWorkingDirectory = "NO"
38+
ignoresPersistentStateOnLaunch = "NO"
39+
debugDocumentVersioning = "YES"
40+
debugServiceExtension = "internal"
41+
allowLocationSimulation = "YES">
42+
</LaunchAction>
43+
<ProfileAction
44+
buildConfiguration = "Release"
45+
shouldUseLaunchSchemeArgsEnv = "YES"
46+
savedToolIdentifier = ""
47+
useCustomWorkingDirectory = "NO"
48+
debugDocumentVersioning = "YES">
49+
<MacroExpansion>
50+
<BuildableReference
51+
BuildableIdentifier = "primary"
52+
BlueprintIdentifier = "ChunkedAudioPlayer"
53+
BuildableName = "ChunkedAudioPlayer"
54+
BlueprintName = "ChunkedAudioPlayer"
55+
ReferencedContainer = "container:">
56+
</BuildableReference>
57+
</MacroExpansion>
58+
</ProfileAction>
59+
<AnalyzeAction
60+
buildConfiguration = "Debug">
61+
</AnalyzeAction>
62+
<ArchiveAction
63+
buildConfiguration = "Release"
64+
revealArchiveInOrganizer = "YES">
65+
</ArchiveAction>
66+
</Scheme>

0 commit comments

Comments
 (0)