-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI Jobs re-run per environment (#663)
Supports the ability to rerun only failed tasks. It recreates the cluster and applications in case they were deleted.
- Loading branch information
1 parent
f37b478
commit 2b992be
Showing
13 changed files
with
427 additions
and
186 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,46 @@ | ||
name: Android Build Combine | ||
|
||
on: | ||
workflow_call: | ||
|
||
jobs: | ||
build-android-combined: | ||
name: Combine Android binaries | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Fetch x86 build | ||
uses: actions/download-artifact@v2 | ||
with: | ||
name: librealm-android-x86 | ||
path: binary/android | ||
- name: Fetch x86_64 build | ||
uses: actions/download-artifact@v2 | ||
with: | ||
name: librealm-android-x86_64 | ||
path: binary/android | ||
- name: Fetch armeabi-v7a build | ||
uses: actions/download-artifact@v2 | ||
with: | ||
name: librealm-android-armeabi-v7a | ||
path: binary/android | ||
- name: Fetch arm64-v8a build | ||
uses: actions/download-artifact@v2 | ||
with: | ||
name: librealm-android-arm64-v8a | ||
path: binary/android | ||
|
||
- name: Store combined artifact | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: librealm-android | ||
path: binary/android | ||
retention-days: 1 | ||
|
||
- name: Delete individual build artifacts | ||
uses: geekyeggo/delete-artifact@v1 | ||
with: | ||
name: | | ||
librealm-android-x86 | ||
librealm-android-x86_64 | ||
librealm-android-armeabi-v7a | ||
librealm-android-arm64-v8a |
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: IOS Build Combine | ||
|
||
on: | ||
workflow_call: | ||
|
||
jobs: | ||
build-ios-xcframework: | ||
name: Combine .xcframework | ||
runs-on: macos-latest | ||
|
||
steps: | ||
- name: Fetch device build | ||
uses: actions/download-artifact@v2 | ||
with: | ||
name: librealm-ios-device | ||
path: binary/ios | ||
- name: Fetch simulator build | ||
uses: actions/download-artifact@v2 | ||
with: | ||
name: librealm-ios-simulator | ||
path: binary/ios | ||
- name: Fetch catalyst build | ||
uses: actions/download-artifact@v2 | ||
with: | ||
name: librealm-ios-catalyst | ||
path: binary/ios | ||
|
||
- name: Build .xcframework | ||
run: | | ||
xcodebuild -create-xcframework \ | ||
-framework ./binary/ios/Release-iphoneos/realm_dart.framework \ | ||
-framework ./binary/ios/Release-iphonesimulator/realm_dart.framework \ | ||
-framework ./binary/ios/Release-maccatalyst/realm_dart.framework \ | ||
-output ./binary/ios/realm_dart.xcframework | ||
rm -rf ./binary/ios/Release-* | ||
- name: Store .xcframework artifact | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: librealm-ios | ||
path: binary/ios | ||
retention-days: 1 | ||
|
||
- name: Delete individual framework artifacts | ||
uses: geekyeggo/delete-artifact@v1 | ||
with: | ||
name: | | ||
librealm-ios-device | ||
librealm-ios-simulator | ||
librealm-ios-catalyst |
Oops, something went wrong.