Skip to content

Conversation

@alexames
Copy link
Contributor

@alexames alexames commented Jun 18, 2021

This allows the library to determine whether the library was built on
github or not.

@google-cla google-cla bot added the cla: yes label Jun 18, 2021
@alexames alexames requested a review from DellaBitta June 18, 2021 05:55
This allows the library to determine whether the library was built on
github or not.
@alexames alexames force-pushed the feature/metric-tracking branch from 76f999b to b4c9de7 Compare June 18, 2021 05:57
@alexames alexames enabled auto-merge (squash) June 18, 2021 05:58
# workaround, absl doesn't build without tests enabled
cmd.append('-DBUILD_TESTING=off')
# When building from GitHub Actions, this should always be set.
cmd.append('-DFIREBASE_GITHUB_ACTION_BUILD=ON')
Copy link
Contributor

Choose a reason for hiding this comment

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

This shouldn't be hard coded here. Our build scripts are run locally by the team and so local builds will be reported as GHA builds. Instead create a runtime flag on build_desktop.py that appends this -D command, and then alter .github/workflows/desltop.yml and .github/workflows/cpp-packaging.yml to add a --gha_build flag (or something) when the workflow invokes build_desktop.py

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think I made the changes you wanted. Take a look and make sure I set it up right.

@alexames alexames merged commit d682fd9 into main Jun 21, 2021
@github-actions github-actions bot added the tests: in-progress This PR's integration tests are in progress. label Jun 21, 2021
@github-actions
Copy link

github-actions bot commented Jun 21, 2021

❌  Integration test FAILED

Requested by @alexames on commit d682fd9
Last updated: Mon Jun 21 13:40 PDT 2021
View integration test log & download artifacts

Failures Configs
auth [TEST] [FAILURE] [Android] [ubuntu] [android_latest]
(1 failed tests)  TestPhoneAuth
remote_config [TEST] [FAILURE] [iOS] [macos] [ios_target]
(1 failed tests)  TestFetchInterval

@github-actions github-actions bot added the tests: failed This PR's integration tests failed. label Jun 21, 2021
@firebase-workflow-trigger firebase-workflow-trigger bot removed the tests: in-progress This PR's integration tests are in progress. label Jun 21, 2021
@jonsimantov jonsimantov deleted the feature/metric-tracking branch July 12, 2021 22:49
@firebase firebase locked and limited conversation to collaborators Jul 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes tests: failed This PR's integration tests failed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants