-
Notifications
You must be signed in to change notification settings - Fork 444
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #426 from skywinder/develop
2.5.0
- Loading branch information
Showing
1,350 changed files
with
291,647 additions
and
15,925 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,57 @@ | ||
name: "Web3swift CI" | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- develop | ||
- hotfix | ||
paths: | ||
- Packag*.swift | ||
- web3swift.podspec | ||
- Cartfile | ||
- Sources/** | ||
- 'Tests/**' | ||
- 'web3swift*/**' | ||
- '.github/workflows/**' | ||
pull_request: | ||
branches: | ||
- master | ||
- develop | ||
|
||
jobs: | ||
spm: | ||
name: Swift Package Manager 5.4 | ||
runs-on: macOS-11 | ||
concurrency: spm | ||
env: | ||
DEVELOPER_DIR: /Applications/Xcode_12.5.1.app/Contents/Developer | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Resolve dependencies | ||
run: swift package resolve | ||
- name: Build | ||
run: swift build --build-tests | ||
# - name: Run local tests | ||
# run: swift test --skip-build -c debug --filter localTests | ||
carthage: | ||
name: Carthage | ||
runs-on: macOS-11 | ||
concurrency: carthage | ||
env: | ||
DEVELOPER_DIR: /Applications/Xcode_12.5.1.app/Contents/Developer | ||
strategy: | ||
fail-fast: false | ||
max-parallel: 2 | ||
matrix: | ||
destination: ['OS=14.5,name=iPhone 12'] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Resolving dependencies | ||
run: carthage checkout | ||
- name: Building dependencies | ||
run: carthage build --no-use-binaries --platform iOS Simulator --use-xcframeworks | ||
- name: Building framework | ||
run: xcodebuild build-for-testing -project "web3swift.xcodeproj" -scheme "web3swift" -destination "${{matrix.destination}}" -testPlan LocalTests | ||
# - name: Running local tests | ||
# run: xcodebuild test-without-building -project "web3swift.xcodeproj" -scheme "web3swift" -destination "${{matrix.destination}}" -testPlan LocalTests |
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
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,5 +1,5 @@ | ||
github "attaswift/BigInt" ~> 5.0 | ||
github "attaswift/BigInt" ~> 5.3.0 | ||
github "attaswift/SipHash" ~> 1.2.2 | ||
github "daltoniam/Starscream" ~> 3.1.0 | ||
github "krzyzanowskim/CryptoSwift" ~> 1.0.0 | ||
github "mxcl/PromiseKit" ~> 6.8.4 | ||
github "daltoniam/Starscream" ~> 4.0.4 | ||
github "krzyzanowskim/CryptoSwift" ~> 1.4.2 | ||
github "mxcl/PromiseKit" ~> 6.16.2 |
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,5 +1,5 @@ | ||
github "attaswift/BigInt" "v5.2.0" | ||
github "attaswift/BigInt" "v5.3.0" | ||
github "attaswift/SipHash" "v1.2.2" | ||
github "daltoniam/Starscream" "3.1.1" | ||
github "krzyzanowskim/CryptoSwift" "1.3.2" | ||
github "mxcl/PromiseKit" "6.13.3" | ||
github "daltoniam/Starscream" "4.0.4" | ||
github "krzyzanowskim/CryptoSwift" "1.4.2" | ||
github "mxcl/PromiseKit" "6.16.2" |
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,29 @@ | ||
name: Swift | ||
|
||
on: | ||
push: | ||
tags: | ||
- '*' | ||
|
||
jobs: | ||
macos: | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Install jazzy | ||
run: gem install jazzy | ||
- name: Generate documentation | ||
run: | | ||
jazzy \ | ||
--clean \ | ||
--github-file-prefix "https://github.com/attaswift/$module/tree/${GITHUB_REF}" \ | ||
--module-version "${{ github.event.release.tag_name }}" \ | ||
--copyright "© $(date '+%Y') [Károly Lőrentey](https://twitter.com/lorentey). (Last updated: $(date '+%Y-%m-%d'))" \ | ||
--config .jazzy.yml | ||
- name: Commit docs | ||
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "GitHub Actions" | ||
git add ./docs | ||
git commit -m "Update docs" | ||
git push origin HEAD:master |
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,47 @@ | ||
name: Swift | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
macos: | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Build | ||
run: swift build --build-tests | ||
- name: Run tests | ||
run: swift test | ||
xcode: | ||
runs-on: macos-latest | ||
strategy: | ||
matrix: | ||
scheme: [BigInt-macOS, BigInt-iOS, BigInt-watchOS, BigInt-tvOS] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Build | ||
run: xcrun xcodebuild -workspace BigInt.xcworkspace -scheme ${{ matrix.scheme }} | ||
linux: | ||
container: | ||
image: swift:${{ matrix.linux }} | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
linux: [bionic, xenial, focal] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Build | ||
run: swift build --build-tests --enable-test-discovery | ||
- name: Test | ||
run: swift test --enable-test-discovery | ||
codecov: | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Test and generate code coverage report | ||
run: xcrun xcodebuild -workspace BigInt.xcworkspace -scheme BigInt-macOS test | ||
- name: Upload coverage to Codecov | ||
uses: codecov/codecov-action@v1 |
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,8 @@ | ||
module: BigInt | ||
author: Károly Lőrentey | ||
theme: fullwidth | ||
output: ./docs | ||
author_url: "https://twitter.com/lorentey" | ||
github_url: "https://github.com/attaswift/BigInt" | ||
root_url: "https://attaswift.github.io/BigInt/reference/" | ||
xcodebuild_arguments: ["-workspace", "BigInt.xcworkspace", "-scheme", "BigInt-macOS"] |
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
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
2 changes: 1 addition & 1 deletion
2
Carthage/Checkouts/BigInt/BigInt.xcodeproj/xcshareddata/xcschemes/BigInt Benchmark.xcscheme
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
2 changes: 1 addition & 1 deletion
2
Carthage/Checkouts/BigInt/BigInt.xcodeproj/xcshareddata/xcschemes/BigInt-iOS.xcscheme
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
2 changes: 1 addition & 1 deletion
2
Carthage/Checkouts/BigInt/BigInt.xcodeproj/xcshareddata/xcschemes/BigInt-macOS.xcscheme
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
2 changes: 1 addition & 1 deletion
2
Carthage/Checkouts/BigInt/BigInt.xcodeproj/xcshareddata/xcschemes/BigInt-tvOS.xcscheme
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
2 changes: 1 addition & 1 deletion
2
Carthage/Checkouts/BigInt/BigInt.xcodeproj/xcshareddata/xcschemes/BigInt-watchOS.xcscheme
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
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
Binary file not shown.
Oops, something went wrong.