-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add sample project CI build workflows (#8)
* Remove unnecessary flag from workflow * Update RxSwift 5 project package.resolve file to use version 1 for CI support * Update RxSwift 5 project minimum deployment target to 13.0 * Update RxSwift 6 project minimum deployment target to 13.0 * Update RxSwift 6 project package.resolve file * Add RxSwift 5 sample app build workflow * Add RxSwift 6 sample app build workflow Co-authored-by: Jack.Stone <[email protected]>
- Loading branch information
1 parent
7e3e8fd
commit b1c3d82
Showing
6 changed files
with
84 additions
and
56 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,32 @@ | ||
name: Build Sample Projects | ||
|
||
on: | ||
push: | ||
branches: main | ||
pull_request: | ||
branches: '**' | ||
|
||
jobs: | ||
buildLegacyProject: | ||
name: "Build Legacy Project" | ||
runs-on: macos-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Build | ||
run: | | ||
cd Sample\ Projects/RxSwift\ 5\ App/ | ||
xcodebuild clean -project RxSwift\ 5\ App.xcodeproj -scheme RxSwift\ 5\ App -destination "generic/platform=iOS" | ||
buildLatestProject: | ||
name: "Build Latest Project" | ||
runs-on: macos-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Build | ||
run: | | ||
cd Sample\ Projects/RxSwift\ 6\ App/ | ||
xcodebuild clean -project RxSwift\ 6\ App.xcodeproj -scheme RxSwift\ 6\ App -destination "generic/platform=iOS" |
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 |
---|---|---|
|
@@ -22,4 +22,3 @@ jobs: | |
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
name: CombineRx | ||
xcode: true |
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
42 changes: 22 additions & 20 deletions
42
...t 5 App/RxSwift 5 App.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
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,23 +1,25 @@ | ||
{ | ||
"pins" : [ | ||
{ | ||
"identity" : "combinerx", | ||
"kind" : "remoteSourceControl", | ||
"location" : "[email protected]:Jackstone92/CombineRx.git", | ||
"state" : { | ||
"revision" : "a92daaa4bad7b0437897e4ecc79fb3149cf50cca", | ||
"version" : "1.0.0" | ||
"object": { | ||
"pins": [ | ||
{ | ||
"package": "CombineRx", | ||
"repositoryURL": "https://github.com/Jackstone92/CombineRx.git", | ||
"state": { | ||
"branch": null, | ||
"revision": "a92daaa4bad7b0437897e4ecc79fb3149cf50cca", | ||
"version": "1.0.0" | ||
} | ||
}, | ||
{ | ||
"package": "RxSwift", | ||
"repositoryURL": "https://github.com/ReactiveX/RxSwift.git", | ||
"state": { | ||
"branch": null, | ||
"revision": "cec68169a048a079f461ba203fe85636548d7a89", | ||
"version": "5.1.3" | ||
} | ||
} | ||
}, | ||
{ | ||
"identity" : "rxswift", | ||
"kind" : "remoteSourceControl", | ||
"location" : "[email protected]:ReactiveX/RxSwift.git", | ||
"state" : { | ||
"revision" : "cec68169a048a079f461ba203fe85636548d7a89", | ||
"version" : "5.1.3" | ||
} | ||
} | ||
], | ||
"version" : 2 | ||
] | ||
}, | ||
"version": 1 | ||
} |
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