Skip to content

[ci] Windows #1239

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

Open
wants to merge 102 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
102 commits
Select commit Hold shift + click to select a range
a484e75
v7 initial changes
mxcl Feb 2, 2019
277944f
Generalize handler dispatch mechanisms
GarthSnyder Feb 12, 2019
7d61133
Use Swift 5’s Result
mxcl Feb 10, 2019
a90ce6b
Final cleanup for Dispatcher conversion (#1016)
GarthSnyder Feb 28, 2019
c202ed6
Add StrictRateLimitedDispatcher
GarthSnyder Feb 8, 2019
87e84e6
Add ConcurrencyLimitedDispatcher
GarthSnyder Feb 8, 2019
2a549fa
StrictRateLimitedDispatcher now schedules only on execution
GarthSnyder Feb 8, 2019
6d2ea9c
Refactor rate limited dispatchers onto common base
GarthSnyder Feb 14, 2019
99b4804
Limiter dispatchers complete and tested
GarthSnyder Feb 12, 2019
ff06e0d
Add CoreDataDispatcher
GarthSnyder Feb 16, 2019
ddb9677
Grooming, doc comments, NSLock -> DispatchQueue
GarthSnyder Feb 13, 2019
50f05b5
Break Dispatcher implementation tests into separate classes to allow …
GarthSnyder Feb 16, 2019
442a618
Move time measurement outside of serialization for rate limit test
GarthSnyder Feb 16, 2019
d963bde
Update testing for Linux and slow Travis environments
GarthSnyder Feb 23, 2019
aa473f1
Build all v7 branches
GarthSnyder Feb 23, 2019
ccccc0c
Merge pull request #1017 from GarthSnyder/v7-dispatcher-types
mxcl Feb 28, 2019
7038ecc
Use my deploy script
mxcl Feb 28, 2019
9ca62ff
[ci] Spell check markdown
mxcl Mar 1, 2019
2b90cb3
'Cancel' for PromiseKit (#899)
dougzilla32 Mar 19, 2019
ed6a108
Access control rationalization for dispatchers
GarthSnyder Mar 17, 2019
c68af9f
Add wrappers for DispatchQueue compatibility to Dispatchers
GarthSnyder Mar 17, 2019
5e3fe21
Update test manifests
GarthSnyder Mar 17, 2019
4ff28fa
Moved dispatcher implementations to subdirectory
GarthSnyder Mar 18, 2019
34e3114
Merge pull request #1022 from GarthSnyder/dispatcher-cleanup
mxcl Mar 19, 2019
b06d7e5
Provide `catchOnly(…)` for specific error handling
nathanhosselton Nov 20, 2018
087f066
'Cancel' for PromiseKit: fix for #1026, plus cleanup
dougzilla32 Mar 23, 2019
1495d68
Obfuscate catchOnly's promise behind a finalizer
nathanhosselton Nov 25, 2018
f624210
Merge pull request #1027 from dougzilla32/v7
mxcl Mar 23, 2019
bd0a551
Remove error param from catchOnly(object) handler
nathanhosselton Nov 26, 2018
eddafa8
Allow specifying a CatchPolicy in catchOnly(Type)
nathanhosselton Nov 26, 2018
dd83de8
Rename generic parameter `Error` to `E`
nathanhosselton Nov 26, 2018
d91425d
Provide `recoverOnly` for specific error recovery
nathanhosselton Nov 26, 2018
b286d7b
Documentation tweaks and test simplification
nathanhosselton Nov 26, 2018
2078574
test coverage ++
nathanhosselton Nov 26, 2018
9e4b9be
Provide `Promise<Void>.recoverOnly` variants
nathanhosselton Nov 27, 2018
a09eb08
Remove examples from docs on void recoverOnly
nathanhosselton Nov 27, 2018
4a8c248
Forgot to pass ()
nathanhosselton Nov 27, 2018
7881851
Rename catchOnly -> catch, recoverOnly -> recover
nathanhosselton Jan 7, 2019
4692135
Update for v7 and regenerate Core/XCTestManifests
nathanhosselton Mar 23, 2019
3729b5a
Merge pull request #1024 from nathanhosselton/v7
mxcl Mar 24, 2019
c7b2bd1
[ci skip] Fix deploy
mxcl Mar 24, 2019
f1885f3
'Cancel' for PromiseKit: add cancellable variants for #1024, plus doc…
dougzilla32 Mar 25, 2019
4c09a11
Merge pull request #1028 from dougzilla32/v7
mxcl Mar 26, 2019
7600e18
[travis] Swift 5 GM; Fix Linux compile
mxcl Mar 26, 2019
a871593
Merge pull request #1031 from mxcl/v7-travis-swift-5-GM
mxcl Mar 26, 2019
ed7c6bc
Add `Accio` to spelling skips
mxcl Apr 8, 2019
3cfc3a7
Rename CancellableTask.swift to Cancellable.swift (match protocol)
GarthSnyder Mar 25, 2019
0ca0b8b
Move cancellation-related implementation files to subdirectory
GarthSnyder Mar 25, 2019
a64f4c2
Edit inline documentation for catchables
GarthSnyder Apr 2, 2019
71ffdce
Add cauterize() for cascading finalizers
GarthSnyder Apr 2, 2019
43662ff
Allow recover() closures to throw even on specific error
GarthSnyder Apr 2, 2019
a10e6ea
Systematize wrappers, omit duplication, move to subdirectory
GarthSnyder Apr 2, 2019
bc28be9
Use CurrentThreadDispatcher directly in case where exact type isn't k…
GarthSnyder Apr 2, 2019
cc11723
Test full set of API wrappers for both standard and cancellable promises
GarthSnyder Apr 2, 2019
3e21581
Make Dispatcher type implementation classes final
GarthSnyder Apr 6, 2019
b8c8208
Regenerate Linux testing manifests
GarthSnyder Apr 8, 2019
f634434
Require parameter name `only:`
nathanhosselton Apr 2, 2019
342c059
Allow throwing from `recover(only: E)` closures
nathanhosselton Apr 2, 2019
43394a7
Include error param in catch/recover(only:) bodies
nathanhosselton Apr 2, 2019
46517fe
Duplicate Nathan's partial-catch updates for cancellable promises, up…
GarthSnyder Apr 8, 2019
c52bca7
Fix a couple of incorrect map vs. return wrapper settings
GarthSnyder Apr 8, 2019
cd1a9b8
Merge pull request #1045 from GarthSnyder/wrapper-revamp
mxcl Apr 12, 2019
ca4ee53
Fix for #1049: Some tests seem to depend on dispatching that PromiseK…
dougzilla32 Apr 20, 2019
a8f2e9b
Merge pull request #1050 from dougzilla32/v7
GarthSnyder Apr 24, 2019
e4f52c2
Specify SwiftPM instructions
mxcl Jun 5, 2019
216ba58
Make tests work with Xcode 11
mxcl Jun 11, 2019
9a08dcc
Support Xcode 11 / Swift 5.1
mxcl Jul 9, 2019
9f494dd
Merge pull request #1080 from mxcl/v7-xcode11
mxcl Jul 9, 2019
6ce87ce
Merge 'origin/master' into v7
mxcl Jun 1, 2021
8e0dc32
[ci] fix; [swiftc] fix
mxcl Jun 1, 2021
e9ba885
Merge pull request #1220 from mxcl/v7-merge
mxcl Jun 1, 2021
88af2d7
Monorepo ∵ much simpler maintenance
mxcl Jun 1, 2021
02fdf65
Don’t be ambiguous for `promise.done { _ in` etc.
mxcl Jun 1, 2021
0bfccc1
Missing API from v6
mxcl Jun 1, 2021
c281739
Merge pull request #1221 from mxcl/extensions-in-repo
mxcl Jun 1, 2021
66418a9
Docs fixes for v7
mxcl Jun 2, 2021
75aa70a
--warnings; reduce deploy targets as poss
mxcl Jun 2, 2021
9a5a710
Merge pull request #1223 from mxcl/v7-rc
mxcl Jun 2, 2021
6e3d236
7.0.0-rc1
mxcl Jun 2, 2021
b94bf39
[ci] Attempt to decrease CI false-failure rate
mxcl Jun 2, 2021
d79bba7
[ci][cd] Updates for v7
mxcl Jun 2, 2021
d2a9021
Merge pull request #1224 from mxcl/prerelease-prep
mxcl Jun 2, 2021
9ff754c
[cd] More prerelease prep
mxcl Jun 2, 2021
bcf04d6
[ci] Run JS A+ tests
mxcl Jun 2, 2021
e930428
Merge pull request #1229 from mxcl/ci/js/A+
mxcl Jun 2, 2021
a2f0b6b
[ci] the JS/A+ tests time out a lot
mxcl Jun 2, 2021
c065234
Run JS/A+ individually to try and avoid timeouts
mxcl Jun 2, 2021
8d49761
Merge pull request #1230 from mxcl/js/a+/individually
mxcl Jun 2, 2021
fa13864
[deps] JS bump, attempting to get rid of audit
mxcl Jun 3, 2021
e6bc5fb
Merge pull request #1231 from mxcl/js/deps
mxcl Jun 3, 2021
50b8e5f
[ci] Reject trailing whitespace
mxcl Jun 3, 2021
923d9e7
[ci] use mxcl/xcodebuild
mxcl Jun 5, 2021
8e42f09
Merge pull request #1232 from mxcl/ci/trailing-whitespace
mxcl Jun 5, 2021
82e8218
[ci] use `concurrency` rather than auto-cancel
mxcl Jun 6, 2021
50df2c5
Merge pull request #1233 from mxcl/ci/concurrency
mxcl Jun 6, 2021
6d9d229
[ci] more thorough matrix
mxcl Jun 6, 2021
743324c
Merge pull request #1234 from mxcl/ci/matrix
mxcl Jun 7, 2021
1785e91
[ci] use Swift rather than Xcode versions
mxcl Jun 7, 2021
f7a8f2a
Merge pull request #1235 from mxcl/ci/mxcl/xcodebuild/swift
mxcl Jun 7, 2021
81fdad9
[ci] can has macos-11
mxcl Jun 23, 2021
dc04daa
Fix compile issues
mxcl Jun 24, 2021
c8378a2
[ci] Windows
mxcl Jun 10, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 0 additions & 19 deletions .github/LinuxMain.stencil

This file was deleted.

2 changes: 1 addition & 1 deletion .github/codecov.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ignore:
- "Tests"
- "README.md"
- "Documentation"
- "Documents"
- ".travis.yml"

codecov:
Expand Down
4 changes: 1 addition & 3 deletions .github/jazzy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,10 @@ custom_categories:
- Thenable
- CatchMixin
- Resolver
xcodebuild_arguments:
- UseModernBuildSystem=NO
output:
../output
# output directory is relative to config file… ugh
readme:
Documentation/README.md
Documents/README.md
theme:
fullwidth
12 changes: 0 additions & 12 deletions .github/sourcery.yml

This file was deleted.

131 changes: 131 additions & 0 deletions .github/spelling-skip-words
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
PromiseKit
NSError
ObjC
AnyPromise
AnyPromises
iOS
Xcode
CocoaPods
Submodules
Agostini.tech
1.x
2.x
3.x
4.x
5.x
6.x
7.x
8.x
9.x
10.x
Alamofire
APIs
PMKConfiguration
Kitura
RxSwift
Zalgo
macOS
watchOS
CoreLocation
CancellablePromiseKit
UIKit
tvOS
SDKs
hair-raisingly
deallocate
deallocated
initializer
initializers
work-arounds
i.e.
e.g.
SwiftPM
CorePromise
submodules
CorePromise
tuplegate
Swift-ese
codebase
subspecs
finalizers
ReactiveSwift
asynchronicity
composable
presentee
Optionals
StackOverflow
backtrace
backport
reframe
runtime
_
misinference
Podfile
Xcodes
TideLift
Gitter
top-100
CocoaPod
conformant
PromiseKits
CancellablePromise
CancellableThenable
thenable
CancellableCatchable
catchable
cancellableRecover
ensureThen
Alamofire.request
responseDecodable
DecodableObject.self
BFTask
CLLocationManager.requestLocation
URLSession.shared.dataTask
MapKit
MKDirections
URLSession.shared.GET
StoreKit
SKProductsRequest
SystemConfiguration
SCNetworkReachability.promise
UIViewPropertyAnimator
startAnimation
Alamofire.DataRequest
responseData
responseString
responseJSON
responsePropertyList
Alamofire.DownloadRequest
CLLocationManager
requestLocation
authorizationType
requestAuthorization
requestedAuthorizationType
NotificationCenter
NSObject
keyPath
URLSession
dataTask
uploadTask
fromFile
downloadTask
HomeKit
HMPromiseAccessoryBrowser
scanInterval
HMHomeManager
calculateETA
MKMapSnapshotter
SKReceiptRefreshRequest
SCNetworkReachability
Cancellability
HealthKit
enum
cancellize
UIImage
PMKFinalizercancelthendonePromise
VoidPending
PromiseURLSessionresumewait
unusedResult
discardableResultcatchreturncauterize
PMKFinalizercancelthenMapthenFlatMapthendonePromise
Accio
62 changes: 11 additions & 51 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@ on:
inputs:
version:
required: true
pods:
required: false
jobs:
pods:
if: ${{ github.event.inputs.pods != 'false' }}
runs-on: macos-latest
steps:

Expand All @@ -18,58 +21,11 @@ jobs:
env: pods

- uses: actions/checkout@v2
with:
submodules: true

- run: pod trunk push --allow-warnings --skip-tests --skip-import-validation
env:
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}

- name: Seal Deployment
uses: bobheadxi/[email protected]
if: always()
with:
step: finish
token: ${{ secrets.GITHUB_TOKEN }}
status: ${{ job.status }}
deployment_id: ${{ steps.deployment.outputs.deployment_id }}

carthage:
runs-on: macos-latest
steps:

- name: Start Deployment
uses: bobheadxi/[email protected]
id: deployment
with:
step: start
token: ${{ secrets.GITHUB_TOKEN }}
env: carthage

- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: ^11
# Waiting on https://github.com/Carthage/Carthage/issues/3103 for Xcode 12

- uses: joutvhu/get-release@v1
id: release
with:
tag_name: ${{ github.event.inputs.version }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- uses: actions/checkout@v2
- run: carthage build --no-skip-current --platform macOS,iOS,watchOS,tvOS --archive
- run: mv PromiseKit.framework.zip PromiseKit-$v.framework.zip

- uses: actions/upload-release-asset@v1
with:
upload_url: ${{ steps.release.outputs.upload_url }}
asset_path: ./PromiseKit-${{ github.event.inputs.version }}.framework.zip
asset_name: PromiseKit-${{ github.event.inputs.version }}.framework.zip
asset_content_type: application/zip
env:
GITHUB_TOKEN: ${{ github.token }}
PMKVersion: ${{ github.event.inputs.version }}

- name: Seal Deployment
uses: bobheadxi/[email protected]
Expand All @@ -92,6 +48,10 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
env: docs

- run: echo "v=${v:0:1}" >> $GITHUB_ENV
env:
v: ${{ github.event.inputs.version }}

- uses: actions/checkout@v2
- run: gem install jazzy
- run: |
Expand All @@ -100,9 +60,9 @@ jobs:
--module-version ${{ github.event.inputs.version }}
- run: git remote update
- run: git checkout gh-pages
- run: rm -rf reference/v6
- run: mv output reference/v6
- run: git add reference/v6
- run: rm -rf reference/v$v
- run: mv output reference/v$v
- run: git add reference/v$v
- run: git config user.name github-actions
- run: git config user.email [email protected]
- run: git commit -m 'Updated docs for v${{ github.event.inputs.version }}'
Expand Down
Loading