- Notifications
You must be signed in to change notification settings - Fork 126
Continue work on C++ packaging #97
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
Conversation
…est of the build can retrieve them.
from the packaging yaml, saving the artifacts
…e .sh file (to be added).
Hi Vimanyu, Could you take a look at this PR? The manual workflow is currently passing with the most recent run: https://github.com/firebase/firebase-cpp-sdk/actions/runs/178862172 I want to get this merged to avoid monolithic PRs. As we switch from .sh to .py scripts for building I'll update these scripts in a subsequent CL. |
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.
Super minor comments but looks good otherwise.
cmake --build . | ||
python demumble_test.py | ||
cd - | ||
mkdir -p packaging-tools |
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.
Could this mkdir mask issues from the previous step?
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 don't think so, if there are any issues then the script won't get this far.
uses: actions/upload-artifact@v2 | ||
with: | ||
name: firebase-cpp-sdk-ios-${{ matrix.architecture }} | ||
path: firebase-cpp-sdk-ios-${{ matrix.architecture }}.tgz |
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.
By any chance, will we need a version number for these artifacts?
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.
AFAIK these artifacts are local to the workflow? So I don't think they need versioning. Later on in the workflow, all of these will be joined together into a single binary SDK artifact, and that will be versioned.
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.
Yes, can confirm - they're scoped by the workflow.
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.
LGTM
After building packaging tools, upload them into an artifact so the rest of the build can retrieve them.
Also contains basic versions of the iOS and Android prereqs and build scripts, and build jobs added to the workflow. Uploads the built iOS and Android SDK artifacts as well.
Desktop needs to wait until desktop workflow is moved into prereqs + build scripts.