Skip to content

Commit

Permalink
Merge pull request #111 from onevcat/v2
Browse files Browse the repository at this point in the history
Drop everything from v1 and recreate the framework to v2!
  • Loading branch information
onevcat authored Nov 2, 2021
2 parents f8ba103 + 4e43f5f commit 96cb208
Show file tree
Hide file tree
Showing 232 changed files with 9,068 additions and 46,058 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
APNGKit/libpng-apng/* linguist-vendored=true
*.png filter=lfs diff=lfs merge=lfs -text
*.apng filter=lfs diff=lfs merge=lfs -text
3 changes: 3 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# These are supported funding model platforms

github: onevcat
32 changes: 32 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: build

on: [push, pull_request]

jobs:
run-test:
runs-on: macos-11
strategy:
matrix:
destination: [
'macOS',
'iOS',
'tvOS'
]
steps:
- uses: actions/checkout@v2
with:
lfs: true
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7.4
bundler-cache: true
- uses: actions/cache@v2
with:
path: .build
key: ${{ runner.os }}-spm-${{ hashFiles('**/Package.resolved') }}
restore-keys: |
${{ runner.os }}-spm-
- name: Remove timing tests
run: rm Tests/APNGKitTests/APNGImageViewTimingTests.swift
- name: Run tests
run: bundle exec fastlane test_${{ matrix.destination }}
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -151,5 +151,4 @@ Carthage/Build

Reference/
test_output
fastlane
/.ruby-version
fastlane/report.xml
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.7.4
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1140"
LastUpgradeVersion = "1310"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand All @@ -14,10 +14,38 @@
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "4B0D67381B8E9DBF00876BDF"
BuildableName = "APNGKit.framework"
BlueprintName = "APNGKit-iOS"
ReferencedContainer = "container:APNGKit.xcodeproj">
BlueprintIdentifier = "APNGKit_APNGKitTests"
BuildableName = "APNGKit_APNGKitTests"
BlueprintName = "APNGKit_APNGKitTests"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "APNGKit"
BuildableName = "APNGKit"
BlueprintName = "APNGKit"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "NO"
buildForArchiving = "NO"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "APNGKitTests"
BuildableName = "APNGKitTests"
BlueprintName = "APNGKitTests"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
Expand All @@ -28,24 +56,15 @@
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
codeCoverageEnabled = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "4B0D67381B8E9DBF00876BDF"
BuildableName = "APNGKit.framework"
BlueprintName = "APNGKit-iOS"
ReferencedContainer = "container:APNGKit.xcodeproj">
</BuildableReference>
</MacroExpansion>
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "4B0D67421B8E9DC000876BDF"
BuildableName = "APNGKitTests.xctest"
BlueprintIdentifier = "APNGKitTests"
BuildableName = "APNGKitTests"
BlueprintName = "APNGKitTests"
ReferencedContainer = "container:APNGKit.xcodeproj">
ReferencedContainer = "container:">
</BuildableReference>
</TestableReference>
</Testables>
Expand All @@ -60,15 +79,6 @@
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "4B0D67381B8E9DBF00876BDF"
BuildableName = "APNGKit.framework"
BlueprintName = "APNGKit-iOS"
ReferencedContainer = "container:APNGKit.xcodeproj">
</BuildableReference>
</MacroExpansion>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
Expand All @@ -79,10 +89,10 @@
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "4B0D67381B8E9DBF00876BDF"
BuildableName = "APNGKit.framework"
BlueprintName = "APNGKit-iOS"
ReferencedContainer = "container:APNGKit.xcodeproj">
BlueprintIdentifier = "APNGKit_APNGKitTests"
BuildableName = "APNGKit_APNGKitTests"
BlueprintName = "APNGKit_APNGKitTests"
ReferencedContainer = "container:">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
Expand Down
19 changes: 0 additions & 19 deletions .travis.yml

This file was deleted.

60 changes: 0 additions & 60 deletions APNGDemo-iOS/APNGDemo-iOS/AppDelegate.swift

This file was deleted.

This file was deleted.

44 changes: 0 additions & 44 deletions APNGDemo-iOS/APNGDemo-iOS/Base.lproj/LaunchScreen.storyboard

This file was deleted.

Loading

0 comments on commit 96cb208

Please sign in to comment.