forked from AFNetworking/AFNetworking
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Work towards 4.0.0 release. * Drop macOS deployment to 10.10. * Reduce pod requirement to 10.10. * Remove iOS 7 & 8 workaround. * Fix misspelling. * Remove now unnecessary version check. * Fixes after master merge. * Remove unnecessary services import. * Updates for travis config. * Year 2020 (AFNetworking#4524) * Add Swift package. * Try to fix Travis configs. * Explicitly set Xcode versions. * Try to fix Xcode selection. * Directly call xcversion. * Revert to Xcode 11.3. * Remove defaults. * Manually set schemes? * Don’t build examples. * Use updated Fastfile. * Properly load from macos * Ignore SecTrustEvaluate deprecations to fix test failures. * Use deprecated API for tests. * Add Catalyst testing. * Scheme updates; can’t test Catalyst until Travis has Catalina. * Remove deprecated APIs. * remove useless api for upload task (AFNetworking#4525) * remove unnecessary __block (AFNetworking#4526) * Add GitHub actions, remove Travis. * Update action name. * Remove matrixes. * Move build action to GitHub actions. Co-authored-by: Elf Sundae <[email protected]> Co-authored-by: Kinarobin <[email protected]>
- Loading branch information
1 parent
e24d494
commit c9d0684
Showing
60 changed files
with
848 additions
and
1,030 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
name: "AFNetworking CI" | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- '*' | ||
|
||
jobs: | ||
macOS: | ||
name: Test macOS | ||
runs-on: macOS-latest | ||
env: | ||
DEVELOPER_DIR: /Applications/Xcode_11.3.1.app/Contents/Developer | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: macOS | ||
run: fastlane ci_commit configuration:Debug --env macos | ||
iOS: | ||
name: Test iOS | ||
runs-on: macOS-latest | ||
env: | ||
DEVELOPER_DIR: /Applications/Xcode_11.3.1.app/Contents/Developer | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: iOS | ||
run: fastlane ci_commit configuration:Debug --env ios13_xcode11 | ||
Catalyst: | ||
name: Test Catalyst | ||
runs-on: macOS-latest | ||
env: | ||
DEVELOPER_DIR: /Applications/Xcode_11.3.1.app/Contents/Developer | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Catalyst | ||
run: fastlane ci_commit configuration:Debug --env catalyst | ||
tvOS: | ||
name: Test tvOS | ||
runs-on: macOS-latest | ||
env: | ||
DEVELOPER_DIR: /Applications/Xcode_11.3.1.app/Contents/Developer | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: tvOS | ||
run: fastlane ci_commit configuration:Debug --env tvos13_xcode11 | ||
watchOS: | ||
name: Build watchOS | ||
runs-on: macOS-latest | ||
env: | ||
DEVELOPER_DIR: /Applications/Xcode_11.3.1.app/Contents/Developer | ||
strategy: | ||
matrix: | ||
destination: ["OS=6.1.1,name=Apple Watch Series 5 - 44mm"] #, "OS=4.2,name=Apple Watch Series 3 - 42mm", "OS=3.2,name=Apple Watch Series 2 - 42mm"] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: watchOS - ${{ matrix.destination }} | ||
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -project "AFNetworking.xcodeproj" -scheme "AFNetworking watchOS" -destination "${{ matrix.destination }}" clean build | xcpretty | ||
SPM: | ||
name: Build with SPM | ||
runs-on: macOS-latest | ||
env: | ||
DEVELOPER_DIR: /Applications/Xcode_11.3.1.app/Contents/Developer | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: SPM Build | ||
run: swift build |
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 |
---|---|---|
|
@@ -29,3 +29,4 @@ fastlane/test-output/* | |
Carthage/Build | ||
|
||
fastlane/README.md | ||
.build |
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 @@ | ||
afnetworking |
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 @@ | ||
2.7.0 |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
Pod::Spec.new do |s| | ||
s.name = 'AFNetworking' | ||
s.version = '3.2.1' | ||
s.version = '4.0.0' | ||
s.license = 'MIT' | ||
s.summary = 'A delightful iOS and OS X networking framework.' | ||
s.summary = 'A delightful networking framework for Apple platforms.' | ||
s.homepage = 'https://github.com/AFNetworking/AFNetworking' | ||
s.social_media_url = 'https://twitter.com/AFNetworking' | ||
s.authors = { 'Mattt Thompson' => '[email protected]' } | ||
|
@@ -27,8 +27,8 @@ Pod::Spec.new do |s| | |
EOS | ||
s.prefix_header_contents = pch_AF | ||
|
||
s.ios.deployment_target = '8.0' | ||
s.osx.deployment_target = '10.9' | ||
s.ios.deployment_target = '9.0' | ||
s.osx.deployment_target = '10.10' | ||
s.watchos.deployment_target = '2.0' | ||
s.tvos.deployment_target = '9.0' | ||
|
||
|
@@ -47,8 +47,8 @@ EOS | |
end | ||
|
||
s.subspec 'Reachability' do |ss| | ||
ss.ios.deployment_target = '8.0' | ||
ss.osx.deployment_target = '10.9' | ||
ss.ios.deployment_target = '9.0' | ||
ss.osx.deployment_target = '10.10' | ||
ss.tvos.deployment_target = '9.0' | ||
|
||
ss.source_files = 'AFNetworking/AFNetworkReachabilityManager.{h,m}' | ||
|
@@ -69,7 +69,7 @@ EOS | |
end | ||
|
||
s.subspec 'UIKit' do |ss| | ||
ss.ios.deployment_target = '8.0' | ||
ss.ios.deployment_target = '9.0' | ||
ss.tvos.deployment_target = '9.0' | ||
ss.dependency 'AFNetworking/NSURLSession' | ||
|
||
|
Oops, something went wrong.