-
Notifications
You must be signed in to change notification settings - Fork 731
[ci] Upload Bazel build profile #9364
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -96,9 +96,26 @@ jobs: | |
| else | ||
| TARGETS=... | ||
| fi | ||
| bazel ${ACTION} ${TARGETS} --config=ci -c opt --repo_env=WPI_PUBLISH_CLASSIFIER_FILTER='${{ matrix.classifier }}' | ||
| bazel ${ACTION} ${TARGETS} --config=ci -c opt --repo_env=WPI_PUBLISH_CLASSIFIER_FILTER='${{ matrix.classifier }}' --execution_log_compact_file="${{ matrix.name }} Exec Log.binpb.zst" | ||
| shell: bash | ||
|
|
||
| - uses: actions/upload-artifact@v7 | ||
| with: | ||
| archive: false | ||
| include-hidden-files: true | ||
| path: "/github/home/.bazel/command-*.profile.gz" | ||
| if: runner.os == 'Linux' | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
For the Useful? React with 👍 / 👎. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
For the Useful? React with 👍 / 👎. |
||
|
|
||
| - uses: actions/upload-artifact@v7 | ||
| with: | ||
| archive: false | ||
| path: "D:/bazelroot/**/command-*.profile.gz" | ||
|
Gold856 marked this conversation as resolved.
|
||
| if: runner.os == 'Windows' | ||
|
|
||
| - uses: actions/upload-artifact@v7 | ||
| with: | ||
| archive: false | ||
| path: "${{ matrix.name }} Exec Log.binpb.zst" | ||
|
Comment on lines
+115
to
+118
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
When the Bazel build/test step fails, GitHub Actions' implicit Useful? React with 👍 / 👎. |
||
| - name: Check disk free space | ||
| if: always() | ||
| run: df -h | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.