Skip to content
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

Combine workflows to pr.yml #313

Merged
merged 14 commits into from
Apr 7, 2022
Merged

Combine workflows to pr.yml #313

merged 14 commits into from
Apr 7, 2022

Conversation

nirinchev
Copy link
Member

Based on #309, will rebase once merged.

@cla-bot cla-bot bot added the cla: yes label Mar 25, 2022
@nirinchev nirinchev changed the title Move the macos workflows to pr.yml Combine workflows to pr.yml Mar 25, 2022
Base automatically changed from ni/baas to master March 28, 2022 11:03
@coveralls
Copy link

coveralls commented Mar 28, 2022

Pull Request Test Coverage Report for Build 2070440925

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 91.841%

Totals Coverage Status
Change from base Build 2051839718: 0.0%
Covered Lines: 394
Relevant Lines: 429

💛 - Coveralls

@nirinchev nirinchev requested a review from blagoev March 29, 2022 08:30
@nirinchev nirinchev self-assigned this Mar 29, 2022
@nirinchev nirinchev marked this pull request as ready for review March 29, 2022 08:31
@@ -51,15 +53,14 @@ jobs:
submodules: 'recursive'
- name: Setup Ninja
uses: seanmiddleditch/gha-setup-ninja@master
- name: Build Realm Dart for Linux
- name: Build Realm for Linux
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm okay with this change, but the library being build is librealm_dart.so. I have wondered, if it would be better to build two libs, ie. also a librealm.so, so that the later can be shared across SDKs, with the Dart VM specific parts only, being in librealm_dart.so. Anyway - that is not for this PR, just something to think about.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the name of the library used by both flutter and dart - at least looking at the latest release, all libraries except for iOS are librealm_dart. I'm fine with renaming it to librealm, but I agree it should be done as a separate PR as it will likely be more involved than what I wanted to do in this one.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are we thinking renaming the library. I think we are totally sidetracking here. It's fine to rename the step.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure I understand - why would we rename the step? This is building the native Realm library for Linux. It's used by both dart and flutter, which is why I think it's incorrect to call it "Build Realm Dart".

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, I don't think it's particularly important to rename the library and in any case, not right now.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes indeed.

Comment on lines +82 to +84
if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
string(APPEND OUTPUT_DIR "/windows")
elseif(CMAKE_HOST_SYSTEM_NAME STREQUAL "Linux")
elseif(CMAKE_SYSTEM_NAME STREQUAL "Linux")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@nirinchev
Copy link
Member Author

The CI failures are related to a botched deployment of Atlas on cloud-dev. The team is investigating but they're not a merge stopper.

@nirinchev nirinchev merged commit a5ca934 into master Apr 7, 2022
@nirinchev nirinchev deleted the ni/combine-workflows branch April 7, 2022 14:14
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants