-
Notifications
You must be signed in to change notification settings - Fork 60
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 #77 from tesseract-one/master
SPM-compatible project structure. Linux support. Better podfile. CocoaPods deploy action
- Loading branch information
Showing
65 changed files
with
895 additions
and
1,915 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,27 @@ | ||
name: Build & Tests | ||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
jobs: | ||
apple: | ||
runs-on: macOS-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Select Xcode | ||
run: sudo xcode-select -s /Applications/Xcode_14.0.app | ||
- name: Build and Test SPM | ||
run: swift test -v | ||
- name: Build and Test CocoaPods | ||
run: pod lib lint --allow-warnings --fail-fast | ||
linux: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: swift:5.8.1 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Build and Test | ||
run: swift test -v |
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,21 @@ | ||
name: Publish CocoaPods package | ||
on: | ||
release: | ||
types: [created] | ||
jobs: | ||
publish: | ||
runs-on: macOS-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Select Xcode | ||
run: sudo xcode-select -s /Applications/Xcode_14.0.app | ||
- name: Publish Pod | ||
run: | | ||
VERSION=$(echo "${VERSION_TAG}" | sed "s|^v\(.*\)$|\1|g") | ||
sed -i '' "s|[[:blank:]]*s\.version[[:blank:]].*|s.version = '${VERSION}'|g" Swift-BigInt.podspec | ||
pod trunk push --allow-warnings | ||
env: | ||
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }} | ||
VERSION_TAG: ${{ github.event.release.tag_name }} | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
Carthage/Build/Mac/BigNumber.framework.dSYM/Contents/Info.plist
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-666 KB
Carthage/Build/Mac/BigNumber.framework.dSYM/Contents/Resources/DWARF/BigNumber
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
187 changes: 0 additions & 187 deletions
187
Carthage/Build/Mac/BigNumber.framework/Versions/A/Headers/BigNumber-Swift.h
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-9.13 KB
...ge/Build/Mac/BigNumber.framework/Versions/A/Modules/BigNumber.swiftmodule/x86_64.swiftdoc
Binary file not shown.
Binary file removed
BIN
-99.1 KB
...Build/Mac/BigNumber.framework/Versions/A/Modules/BigNumber.swiftmodule/x86_64.swiftmodule
Binary file not shown.
4 changes: 0 additions & 4 deletions
4
Carthage/Build/Mac/BigNumber.framework/Versions/A/Modules/module.modulemap
This file was deleted.
Oops, something went wrong.
44 changes: 0 additions & 44 deletions
44
Carthage/Build/Mac/BigNumber.framework/Versions/A/Resources/Info.plist
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.