Skip to content

Commit ea6b73b

Browse files
committed
Set up testing and support iOS 18
1 parent 09f5e4c commit ea6b73b

File tree

5 files changed

+118
-48
lines changed

5 files changed

+118
-48
lines changed

.github/FUNDING.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# These are supported funding model platforms
22

33
github: [fulldecent]
4-
custom: ["https://www.paypal.me/fulldecent", "https://amazon.com/hz/wishlist/ls/EE78A23EEGQB"]
4+
custom: ["https://www.paypal.me/fulldecent"]

.github/workflows/test.yml

Lines changed: 23 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,37 @@
11
---
2-
name: Test
2+
name: CI
33

44
on:
55
push:
6-
branches: [main, master]
6+
branches: [main]
77
pull_request:
8-
branches: [main, master]
8+
branches: [main]
99

1010
jobs:
1111
test:
12-
runs-on: macos-14
12+
name: Build and Test
13+
runs-on: macos-15
1314

1415
steps:
1516
- uses: actions/checkout@v4
1617

17-
- name: Setup Xcode version
18-
uses: maxim-lobanov/setup-xcode@v1
19-
with:
20-
xcode-version: '15.4'
18+
- name: Select Xcode
19+
run: sudo xcode-select -s /Applications/Xcode_16.4.app
2120

22-
- name: Build and Test for iOS
21+
- name: Show build environment
2322
run: |
24-
# Build for iPhone Simulator using xcodebuild with Swift package
25-
xcodebuild -scheme FDWaveformView \
26-
-destination "platform=iOS Simulator,name=iPhone 15,OS=17.5" \
27-
clean build
28-
29-
# Run tests on iPhone Simulator
30-
xcodebuild -scheme FDWaveformView \
31-
-destination "platform=iOS Simulator,name=iPhone 15,OS=17.5" \
32-
test
23+
xcodebuild -version
24+
xcrun swift --version
25+
xcrun simctl list devices available | grep 'iPhone 16 '
26+
27+
- name: Build
28+
run: |
29+
xcodebuild build \
30+
-scheme FDWaveformView \
31+
-destination 'platform=iOS Simulator,name=iPhone 16,OS=18.5'
32+
33+
- name: Test
34+
run: |
35+
xcodebuild test \
36+
-scheme FDWaveformView \
37+
-destination 'platform=iOS Simulator,name=iPhone 16,OS=18.5'

CHANGELOG.md

Lines changed: 69 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,35 @@
1-
# Change Log
1+
# Change log
2+
23
All notable changes to this project will be documented in this file.
34
`FDWaveformView` adheres to [Semantic Versioning](http://semver.org/).
45

56
---
67

7-
## [Master](https://github.com/fulldecent/FDWaveformView/compare/5.0.2...master)
8+
## [Main](https://github.com/fulldecent/FDWaveformView/compare/5.0.2...main)
9+
10+
### Changed
811

9-
#### Changed
12+
- Updated README to mention Swift Package Manager only installation
13+
- Set up CI with GitHub Actions and document testing from command line
1014

1115
---
1216

1317
## [5.0.2](https://github.com/fulldecent/FDWaveformView/releases/tag/5.0.2)
18+
1419
Released on 2024-03-27.
1520

16-
#### Changed
21+
### Changed
22+
1723
- Removed Travis CI, CocoaPods, Carthage
1824

1925
---
2026

2127
## [4.0.1](https://github.com/fulldecent/FDWaveformView/releases/tag/4.0.1)
28+
2229
Released on 2020-02-12.
2330

24-
#### Changed
31+
### Changed
32+
2533
- Switch to new standard library clamp functions
2634
- Added by [William Entriken](https://github.com/fulldecent)
2735
- Fixed timescale bug for some mp4 files
@@ -30,9 +38,11 @@ Released on 2020-02-12.
3038
---
3139

3240
## [4.0.0](https://github.com/fulldecent/FDWaveformView/releases/tag/4.0.0)
41+
3342
Released on 2019-04-08.
3443

35-
#### Changed
44+
### Changed
45+
3646
- Converted to Swift 4.2 and Xcode 10
3747
- Added by [Doug Earnshaw](https://github.com/pixlwave)
3848
- Prevent to handle panning gesture while pinching
@@ -44,31 +54,38 @@ Released on 2019-04-08.
4454
---
4555

4656
## [3.0.1](https://github.com/fulldecent/FDWaveformView/releases/tag/3.0.1)
57+
4758
Released on 2017-10-27.
4859

49-
#### Fixed
60+
### Fixed
61+
5062
- Fixed Highlight Samples not aligned to base waveform [#101](https://github.com/fulldecent/FDWaveformView/issues/101).
5163
- Added by [Jon Andersen](https://github.com/jonandersen)
5264

5365
---
5466

5567
## [3.0.0](https://github.com/fulldecent/FDWaveformView/releases/tag/3.0.0)
68+
5669
Released on 2017-10-27.
5770

58-
#### Changed
71+
### Changed
72+
5973
- Now supporting Swift 4.0
6074

6175
---
6276

6377
## [2.2.1](https://github.com/fulldecent/FDWaveformView/releases/tag/2.2.1)
78+
6479
Released on 2017-05-31.
6580

66-
#### Changed
81+
### Changed
82+
6783
- Now using ranges in the API where appropriate
6884
- Added by [William Entriken](https://github.com/fulldecent) in regards to issue
6985
[#76](https://github.com/fulldecent/FDWaveformView/issues/86).
7086

71-
#### Fixed
87+
### Fixed
88+
7289
- Fixed a retain cycle in completion handler of waveform render operation
7390
- Added by [Philippe Jayet](https://github.com/pjay)
7491
- Cancel waveform render operation when view is released
@@ -77,9 +94,11 @@ Released on 2017-05-31.
7794
---
7895

7996
## [2.2.0](https://github.com/fulldecent/FDWaveformView/releases/tag/2.2.0)
97+
8098
Released on 2017-05-03.
8199

82-
#### Added
100+
### Added
101+
83102
- Improved accuracy of waveform rendering
84103
- Added by [Kip Nicol](https://github.com/ospr)
85104
- Added support for rendering waveform images outside of view (See `FDWaveformRenderOperation`)
@@ -91,7 +110,8 @@ Released on 2017-05-03.
91110
- Added support for updating waveform type and color to iOS Example app.
92111
- Added by [Kip Nicol](https://github.com/ospr)
93112

94-
#### Fixed
113+
### Fixed
114+
95115
- Fixed waveform rendering for large audio files
96116
- Added by [Kip Nicol](https://github.com/ospr)
97117
- Fixed bug which could prevent waveform from fitting new view size if rendering was in progress during a view resize
@@ -106,15 +126,18 @@ Released on 2017-05-03.
106126
---
107127

108128
## [2.1.0](https://github.com/fulldecent/FDWaveformView/releases/tag/2.1.0)
129+
109130
Released on 2017-04-15.
110131

111-
#### Added
132+
### Added
133+
112134
- Improved example app to include more options
113135
- Added by [William Entriken](https://github.com/fulldecent)
114136
- Allowed animation for changes to zoom
115137
- Added by [William Entriken](https://github.com/fulldecent)
116138

117-
#### Fixed
139+
### Fixed
140+
118141
- Improved accuracy of waveform rendering
119142
- Added by [Kip Nicol](https://github.com/ospr)
120143
- Fixed waveform rendering for large audio files
@@ -126,9 +149,11 @@ Released on 2017-04-15.
126149
---
127150

128151
## [2.0.1](https://github.com/fulldecent/FDWaveformView/releases/tag/2.0.1)
152+
129153
Released on 2017-02-16.
130154

131-
#### Added
155+
### Added
156+
132157
- Allowed scrubbing independantly of scrolling
133158
- Added by [Doug Earnshaw](https://github.com/pixlwave)
134159
- Tidied up Swift 3.0 conversion, removed some forced unwraps & generally made more swifty
@@ -137,9 +162,11 @@ Released on 2017-02-16.
137162
---
138163

139164
## [2.0.0](https://github.com/fulldecent/FDWaveformView/releases/tag/2.0.0)
165+
140166
Released on 2016-09-27.
141167

142-
#### Added
168+
### Added
169+
143170
- Automated CocoaPods Quality Indexes testing
144171
- Added by [Hayden Holligan](https://github.com/haydenholligan)
145172
- Used GPU to process waveforms
@@ -148,29 +175,35 @@ Released on 2016-09-27.
148175
---
149176

150177
## [1.0.2](https://github.com/fulldecent/FDWaveformView/releases/tag/1.0.2)
178+
151179
Released on 2016-09-02.
152180

153-
#### Fixed
181+
### Fixed
182+
154183
- Corrected rendering, fixed typo
155184
- Added by [William Entriken](https://github.com/fulldecent) in regards to issue
156185
[#62](https://github.com/fulldecent/FDWaveformView/issues/62).
157186

158187
---
159188

160189
## [1.0.1](https://github.com/fulldecent/FDWaveformView/releases/tag/1.0.1)
190+
161191
Released on 2016-08-02.
162192

163-
#### Fixed
193+
### Fixed
194+
164195
- Fixed Podspec for Swift files
165196
- Added by [William Entriken](https://github.com/fulldecent) in regards to issue
166197
[#61](https://github.com/fulldecent/FDWaveformView/issues/61).
167198

168199
---
169200

170201
## [1.0.0](https://github.com/fulldecent/FDWaveformView/releases/tag/1.0.0)
202+
171203
Released on 2016-06-27.
172204

173-
#### Added
205+
### Added
206+
174207
- Full API documentation
175208
- Added by [William Entriken](https://github.com/fulldecent) in regards to issue
176209
[#53](https://github.com/fulldecent/FDWaveformView/issues/53).
@@ -187,50 +220,61 @@ Released on 2016-06-27.
187220
---
188221

189222
## [0.3.2](https://github.com/fulldecent/FDWaveformView/releases/tag/0.3.2)
223+
190224
Released on 2016-04-10.
191225

192-
#### Added
226+
### Added
227+
193228
- Carthage support
194229
- Added by [William Entriken](https://github.com/fulldecent)
195230

196231
---
197232

198233
## [0.3.0](https://github.com/fulldecent/FDWaveformView/releases/tag/0.3.0)
234+
199235
Released on 2016-03-29.
200236

201-
#### Added
237+
### Added
238+
202239
- Separated scrolling and pinching options
203240
- Added by [Rudy Mutter](https://github.com/rmutter)
204241

205-
#### Updated
242+
### Updated
243+
206244
- Used recommended CocoPods project format
207245
- Added by [William Entriken](https://github.com/fulldecent)
208246

209-
#### Fixed
247+
### Fixed
248+
210249
- That warning everyone was seeing
211250
- Added by [Yin Cheng](https://github.com/msching)
212251

213252
---
214253

215254
## [0.2.2](https://github.com/fulldecent/FDWaveformView/releases/tag/0.2.2)
255+
216256
Released on 2015-09-14.
217257

218-
#### Added
258+
### Added
259+
219260
- Profiling tests
220261
- Added by [William Entriken](https://github.com/fulldecent)
221262

222263
---
223264

224265
## [0.1.2](https://github.com/fulldecent/FDWaveformView/releases/tag/0.1.2)
266+
225267
Released on 2014-01-06.
226268

227-
#### Added
269+
### Added
270+
228271
- First cocoapods release
229272
- Added by [William Entriken](https://github.com/fulldecent)
230273

231274
---
232275

233276
## [0.1.0](https://github.com/fulldecent/FDWaveformView/releases/tag/0.1.0)
277+
234278
Released on 2013-11-04.
235279

236280
Initial public release.

Example/Example.xcodeproj/project.pbxproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,7 @@
298298
INFOPLIST_KEY_UILaunchScreen_Generation = YES;
299299
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
300300
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
301+
IPHONEOS_DEPLOYMENT_TARGET = 18.6;
301302
LD_RUNPATH_SEARCH_PATHS = (
302303
"$(inherited)",
303304
"@executable_path/Frameworks",
@@ -326,6 +327,7 @@
326327
INFOPLIST_KEY_UILaunchScreen_Generation = YES;
327328
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
328329
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
330+
IPHONEOS_DEPLOYMENT_TARGET = 18.6;
329331
LD_RUNPATH_SEARCH_PATHS = (
330332
"$(inherited)",
331333
"@executable_path/Frameworks",

0 commit comments

Comments
 (0)