Skip to content

Commit 6513905

Browse files
committed
Dependency update | changes in Podfile to build Example on M1 | add gitignore to example
1 parent a3b2acf commit 6513905

File tree

188 files changed

+5727
-3967
lines changed

Some content is hidden

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

188 files changed

+5727
-3967
lines changed

Cartfile.resolved

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
github "attaswift/BigInt" "v5.2.1"
1+
github "attaswift/BigInt" "v5.3.0"
22
github "attaswift/SipHash" "v1.2.2"
33
github "daltoniam/Starscream" "4.0.4"
4-
github "krzyzanowskim/CryptoSwift" "1.4.1"
5-
github "mxcl/PromiseKit" "6.15.3"
4+
github "krzyzanowskim/CryptoSwift" "1.4.2"
5+
github "mxcl/PromiseKit" "6.16.0"
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 "[email protected]"
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.1'
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"

Carthage/Checkouts/BigInt/BigInt.xcodeproj/project.pbxproj

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,6 @@
174174
BB241C6A1DDB70B00067F917 /* BigInt Benchmark.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "BigInt Benchmark.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
175175
BB241CE81DDB7B620067F917 /* CHANGELOG.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = CHANGELOG.md; sourceTree = "<group>"; };
176176
BB241CE91DDB7B620067F917 /* Demo.playground */ = {isa = PBXFileReference; lastKnownFileType = file.playground; path = Demo.playground; sourceTree = "<group>"; };
177-
BB241CEA1DDB7B620067F917 /* generate-docs.sh */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = "generate-docs.sh"; sourceTree = "<group>"; };
178177
BB241CF01DDB84210067F917 /* .codecov.yml */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = .codecov.yml; sourceTree = "<group>"; };
179178
BB4273F41F24AFC800065766 /* Tools.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Tools.swift; sourceTree = "<group>"; };
180179
BB9889A41F3E5C3100014740 /* Strideable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Strideable.swift; sourceTree = "<group>"; };
@@ -191,7 +190,6 @@
191190
BBB55AF11C8F8BE00050DDA9 /* BigInt.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = BigInt.framework; sourceTree = BUILT_PRODUCTS_DIR; };
192191
BBB55AFE1C8F8CBB0050DDA9 /* BigInt.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = BigInt.framework; sourceTree = BUILT_PRODUCTS_DIR; };
193192
BBB55B071C8F8CBB0050DDA9 /* BigInt-Test.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "BigInt-Test.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
194-
BBB55B1C1C8F90F60050DDA9 /* .travis.yml */ = {isa = PBXFileReference; lastKnownFileType = text; path = .travis.yml; sourceTree = "<group>"; };
195193
BBB55B1D1C8F9E850050DDA9 /* LICENSE.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = LICENSE.md; sourceTree = "<group>"; };
196194
BBB55B1E1C8F9E920050DDA9 /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; };
197195
BBE4CA4D1F3DA5AB0062A281 /* Codable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Codable.swift; sourceTree = "<group>"; };
@@ -277,10 +275,8 @@
277275
BB241CE81DDB7B620067F917 /* CHANGELOG.md */,
278276
BB241BC51DD9F6490067F917 /* Package.swift */,
279277
BB241BC71DD9F7D60067F917 /* BigInt.podspec */,
280-
BBB55B1C1C8F90F60050DDA9 /* .travis.yml */,
281278
BB241CF01DDB84210067F917 /* .codecov.yml */,
282279
BBB55ACC1C8F80660050DDA9 /* version.xcconfig */,
283-
BB241CEA1DDB7B620067F917 /* generate-docs.sh */,
284280
BB241CE91DDB7B620067F917 /* Demo.playground */,
285281
BBB55AB41C8F80020050DDA9 /* Sources */,
286282
BBB55AC01C8F80020050DDA9 /* Tests */,
@@ -533,7 +529,7 @@
533529
isa = PBXProject;
534530
attributes = {
535531
LastSwiftUpdateCheck = 0730;
536-
LastUpgradeCheck = 1100;
532+
LastUpgradeCheck = 1300;
537533
ORGANIZATIONNAME = "Károly Lőrentey";
538534
TargetAttributes = {
539535
BBB55AB11C8F80020050DDA9 = {
@@ -888,6 +884,7 @@
888884
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
889885
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
890886
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
887+
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
891888
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
892889
CLANG_WARN_STRICT_PROTOTYPES = YES;
893890
CLANG_WARN_SUSPICIOUS_MOVE = YES;
@@ -949,6 +946,7 @@
949946
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
950947
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
951948
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
949+
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
952950
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
953951
CLANG_WARN_STRICT_PROTOTYPES = YES;
954952
CLANG_WARN_SUSPICIOUS_MOVE = YES;

Carthage/Checkouts/BigInt/BigInt.xcodeproj/xcshareddata/xcschemes/BigInt Benchmark.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1100"
3+
LastUpgradeVersion = "1300"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

Carthage/Checkouts/BigInt/BigInt.xcodeproj/xcshareddata/xcschemes/BigInt-iOS.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1100"
3+
LastUpgradeVersion = "1300"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

Carthage/Checkouts/BigInt/BigInt.xcodeproj/xcshareddata/xcschemes/BigInt-macOS.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1100"
3+
LastUpgradeVersion = "1300"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

Carthage/Checkouts/BigInt/BigInt.xcodeproj/xcshareddata/xcschemes/BigInt-tvOS.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1100"
3+
LastUpgradeVersion = "1300"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

0 commit comments

Comments
 (0)