-
Notifications
You must be signed in to change notification settings - Fork 70
Download engine artifacts in dart code #150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Download engine artifacts in dart code #150
Conversation
185bcf4 to
9ddcb5e
Compare
- Download tizen engine artifacts by using ArtifactUpdater - Download gen_snapshot(.exe) from the android's url - Move the location of tizen artifacts to `flutter/bin/cache/artifacts/engine` - Remove tizen_artifacts.dart The artifacts should be uploaded to the github releases in the following form: - tizen-common.zip - tizen-x86-debug.zip - tizen-arm-debug.zip - tizen-arm-profile.zip - tizen-arm-release.zip - tizen-arm64-debug.zip - tizen-arm64-profile.zip - tizen-arm64.release.zip
9ddcb5e to
71389e3
Compare
Co-authored-by: Swift Kim <[email protected]>
Co-authored-by: Swift Kim <[email protected]>
Co-authored-by: Swift Kim <[email protected]>
swift-kim
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your hard work!
| '/_apis/build/builds/$buildId/artifacts?artifactName=release'; | ||
|
|
||
| final http.Response response = await http.get(Uri.parse(azureRestUrl)); | ||
| if (response.statusCode == 200) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I searched for the keyword "response.statusCode" in flutter_tools and it seemed more common to use predefined constants:
| if (response.statusCode == 200) { | |
| if (response.statusCode == HttpStatus.ok) { |
|
The new release (https://github.com/flutter-tizen/engine/releases/tag/a7ea781) has passed the store verification. |
context: #77
flutter/bin/cache/artifacts/engineThe artifacts should be uploaded to the github releases in the following form:
Use following two environment variables:
AZURE_BUILD_IDto download artifacts from the Azure pipeline's artifactsTIZEN_ENGINE_BASE_URLto override the default urlhttps://github.com/flutter-tizen/engine/releasesAZURE_BUILD_IDtakes precedence overTIZEN_ENGINE_BASE_URL