Skip to content

Commit ca0fee8

Browse files
Merge pull request #426 from skywinder/develop
2.5.0
2 parents 6eddd2c + 5e7ea0c commit ca0fee8

File tree

1,350 files changed

+291647
-15925
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,350 files changed

+291647
-15925
lines changed

.circleci/config.yml

Lines changed: 0 additions & 40 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
name: "Web3swift CI"
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- develop
8+
- hotfix
9+
paths:
10+
- Packag*.swift
11+
- web3swift.podspec
12+
- Cartfile
13+
- Sources/**
14+
- 'Tests/**'
15+
- 'web3swift*/**'
16+
- '.github/workflows/**'
17+
pull_request:
18+
branches:
19+
- master
20+
- develop
21+
22+
jobs:
23+
spm:
24+
name: Swift Package Manager 5.4
25+
runs-on: macOS-11
26+
concurrency: spm
27+
env:
28+
DEVELOPER_DIR: /Applications/Xcode_12.5.1.app/Contents/Developer
29+
steps:
30+
- uses: actions/checkout@v2
31+
- name: Resolve dependencies
32+
run: swift package resolve
33+
- name: Build
34+
run: swift build --build-tests
35+
# - name: Run local tests
36+
# run: swift test --skip-build -c debug --filter localTests
37+
carthage:
38+
name: Carthage
39+
runs-on: macOS-11
40+
concurrency: carthage
41+
env:
42+
DEVELOPER_DIR: /Applications/Xcode_12.5.1.app/Contents/Developer
43+
strategy:
44+
fail-fast: false
45+
max-parallel: 2
46+
matrix:
47+
destination: ['OS=14.5,name=iPhone 12']
48+
steps:
49+
- uses: actions/checkout@v2
50+
- name: Resolving dependencies
51+
run: carthage checkout
52+
- name: Building dependencies
53+
run: carthage build --no-use-binaries --platform iOS Simulator --use-xcframeworks
54+
- name: Building framework
55+
run: xcodebuild build-for-testing -project "web3swift.xcodeproj" -scheme "web3swift" -destination "${{matrix.destination}}" -testPlan LocalTests
56+
# - name: Running local tests
57+
# run: xcodebuild test-without-building -project "web3swift.xcodeproj" -scheme "web3swift" -destination "${{matrix.destination}}" -testPlan LocalTests

.gitignore

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
## Build generated
66
build/
77
DerivedData/
8-
.build
8+
99
## Various settings
1010
*.pbxuser
1111
!default.pbxuser
@@ -35,9 +35,11 @@ playground.xcworkspace
3535
# Swift Package Manager
3636
#
3737
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
38-
# Packages/
39-
# Package.pins
38+
Packages/
39+
Package.pins
4040
.build/
41+
.swiftpm/**
42+
*/.swiftpm/**
4143

4244
# CocoaPods
4345
#

.travis.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

Cartfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
github "attaswift/BigInt" ~> 5.0
1+
github "attaswift/BigInt" ~> 5.3.0
22
github "attaswift/SipHash" ~> 1.2.2
3-
github "daltoniam/Starscream" ~> 3.1.0
4-
github "krzyzanowskim/CryptoSwift" ~> 1.0.0
5-
github "mxcl/PromiseKit" ~> 6.8.4
3+
github "daltoniam/Starscream" ~> 4.0.4
4+
github "krzyzanowskim/CryptoSwift" ~> 1.4.2
5+
github "mxcl/PromiseKit" ~> 6.16.2

Cartfile.resolved

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
github "attaswift/BigInt" "v5.2.0"
1+
github "attaswift/BigInt" "v5.3.0"
22
github "attaswift/SipHash" "v1.2.2"
3-
github "daltoniam/Starscream" "3.1.1"
4-
github "krzyzanowskim/CryptoSwift" "1.3.2"
5-
github "mxcl/PromiseKit" "6.13.3"
3+
github "daltoniam/Starscream" "4.0.4"
4+
github "krzyzanowskim/CryptoSwift" "1.4.2"
5+
github "mxcl/PromiseKit" "6.16.2"
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Swift
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
8+
jobs:
9+
macos:
10+
runs-on: macos-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
- name: Install jazzy
14+
run: gem install jazzy
15+
- name: Generate documentation
16+
run: |
17+
jazzy \
18+
--clean \
19+
--github-file-prefix "https://github.com/attaswift/$module/tree/${GITHUB_REF}" \
20+
--module-version "${{ github.event.release.tag_name }}" \
21+
--copyright "© $(date '+%Y') [Károly Lőrentey](https://twitter.com/lorentey). (Last updated: $(date '+%Y-%m-%d'))" \
22+
--config .jazzy.yml
23+
- name: Commit docs
24+
run: |
25+
git config --local user.email "bot@github.com"
26+
git config --local user.name "GitHub Actions"
27+
git add ./docs
28+
git commit -m "Update docs"
29+
git push origin HEAD:master
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: Swift
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
macos:
11+
runs-on: macos-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
- name: Build
15+
run: swift build --build-tests
16+
- name: Run tests
17+
run: swift test
18+
xcode:
19+
runs-on: macos-latest
20+
strategy:
21+
matrix:
22+
scheme: [BigInt-macOS, BigInt-iOS, BigInt-watchOS, BigInt-tvOS]
23+
steps:
24+
- uses: actions/checkout@v2
25+
- name: Build
26+
run: xcrun xcodebuild -workspace BigInt.xcworkspace -scheme ${{ matrix.scheme }}
27+
linux:
28+
container:
29+
image: swift:${{ matrix.linux }}
30+
runs-on: ubuntu-latest
31+
strategy:
32+
matrix:
33+
linux: [bionic, xenial, focal]
34+
steps:
35+
- uses: actions/checkout@v2
36+
- name: Build
37+
run: swift build --build-tests --enable-test-discovery
38+
- name: Test
39+
run: swift test --enable-test-discovery
40+
codecov:
41+
runs-on: macos-latest
42+
steps:
43+
- uses: actions/checkout@v2
44+
- name: Test and generate code coverage report
45+
run: xcrun xcodebuild -workspace BigInt.xcworkspace -scheme BigInt-macOS test
46+
- name: Upload coverage to Codecov
47+
uses: codecov/codecov-action@v1

Carthage/Checkouts/BigInt/.jazzy.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
module: BigInt
2+
author: Károly Lőrentey
3+
theme: fullwidth
4+
output: ./docs
5+
author_url: "https://twitter.com/lorentey"
6+
github_url: "https://github.com/attaswift/BigInt"
7+
root_url: "https://attaswift.github.io/BigInt/reference/"
8+
xcodebuild_arguments: ["-workspace", "BigInt.xcworkspace", "-scheme", "BigInt-macOS"]

Carthage/Checkouts/BigInt/BigInt.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
Pod::Spec.new do |spec|
33
spec.name = 'BigInt'
4-
spec.version = '5.2.0'
4+
spec.version = '5.3.0'
55
spec.ios.deployment_target = "8.0"
66
spec.osx.deployment_target = "10.9"
77
spec.tvos.deployment_target = "9.0"

0 commit comments

Comments
 (0)