-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add workflow files outside of folders
- Loading branch information
1 parent
1d22a1f
commit 3d06413
Showing
3 changed files
with
138 additions
and
0 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,88 @@ | ||
name: Build iOS | ||
|
||
on: | ||
push: | ||
branches: | ||
- '**' | ||
pull_request: | ||
branches: | ||
- '**' | ||
|
||
jobs: | ||
framework-ios-simulator: | ||
name: Build Framework For iOS Simulator | ||
runs-on: macos-13 | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Set Xcode Version | ||
uses: maxim-lobanov/setup-xcode@v1 | ||
with: | ||
xcode-version: latest-stable | ||
- name: Build Framework | ||
env: | ||
workspace: RxNetworkKit.xcworkspace | ||
scheme: RxNetworkKit | ||
destination: generic/platform=iOS Simulator | ||
run: | | ||
xcodebuild clean build -workspace "${workspace}" -scheme "${scheme}" -destination "${destination}" | xcpretty && exit ${PIPESTATUS[0]} | ||
framework-ios: | ||
name: Build Framework For iOS Device | ||
runs-on: macos-13 | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Set Xcode Version | ||
uses: maxim-lobanov/setup-xcode@v1 | ||
with: | ||
xcode-version: latest-stable | ||
- name: Build Framework | ||
env: | ||
workspace: RxNetworkKit.xcworkspace | ||
scheme: RxNetworkKit | ||
destination: generic/platform=iOS | ||
run: | | ||
xcodebuild clean build -workspace "${workspace}" -scheme "${scheme}" -destination "${destination}" | xcpretty && exit ${PIPESTATUS[0]} | ||
example-ios-simulator: | ||
name: Build Example For iOS Simulator | ||
runs-on: macos-13 | ||
needs: framework-ios-simulator | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Set Xcode Version | ||
uses: maxim-lobanov/setup-xcode@v1 | ||
with: | ||
xcode-version: latest-stable | ||
- name: Build Example | ||
env: | ||
workspace: RxNetworkKit.xcworkspace | ||
scheme: iOS Example | ||
destination: generic/platform=iOS Simulator | ||
run: | | ||
xcodebuild clean build -workspace "${workspace}" -scheme "${scheme}" -destination "${destination}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcpretty && exit ${PIPESTATUS[0]} | ||
example-ios: | ||
name: Build Example For iOS Device | ||
runs-on: macos-13 | ||
needs: framework-ios | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Set Xcode Version | ||
uses: maxim-lobanov/setup-xcode@v1 | ||
with: | ||
xcode-version: latest-stable | ||
- name: Build Example | ||
env: | ||
workspace: RxNetworkKit.xcworkspace | ||
scheme: iOS Example | ||
destination: generic/platform=iOS | ||
run: | | ||
xcodebuild clean build -workspace "${workspace}" -scheme "${scheme}" -destination "${destination}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcpretty && exit ${PIPESTATUS[0]} |
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,50 @@ | ||
name: Build macOS | ||
|
||
on: | ||
push: | ||
branches: | ||
- '**' | ||
pull_request: | ||
branches: | ||
- '**' | ||
|
||
jobs: | ||
framework-macos: | ||
name: Build Framework For macOS | ||
runs-on: macos-13 | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Set Xcode Version | ||
uses: maxim-lobanov/setup-xcode@v1 | ||
with: | ||
xcode-version: latest-stable | ||
- name: Build Framework | ||
env: | ||
workspace: RxNetworkKit.xcworkspace | ||
scheme: RxNetworkKit | ||
destination: generic/platform=macOS | ||
run: | | ||
xcodebuild clean build -workspace "${workspace}" -scheme "${scheme}" -destination "${destination}" | xcpretty && exit ${PIPESTATUS[0]} | ||
example-macos: | ||
name: Build Example For macOS | ||
runs-on: macos-13 | ||
needs: framework-macos | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Set Xcode Version | ||
uses: maxim-lobanov/setup-xcode@v1 | ||
with: | ||
xcode-version: latest-stable | ||
- name: Build Example | ||
env: | ||
workspace: RxNetworkKit.xcworkspace | ||
scheme: macOS Example | ||
destination: generic/platform=macOS | ||
run: | | ||
xcodebuild clean build -workspace "${workspace}" -scheme "${scheme}" -destination "${destination}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcpretty && exit ${PIPESTATUS[0]} | ||
File renamed without changes.