Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 19 additions & 2 deletions .github/workflows/bazel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,29 @@ jobs:
TARGETS=...
fi
if [ "${{ runner.os }}" = "Windows" ]; then
bazel --output_user_root=D:\\bazelroot ${ACTION} ${TARGETS} --config=ci -c opt --repo_env=WPI_PUBLISH_CLASSIFIER_FILTER='${{ matrix.classifier }}'
bazel --output_user_root=D:\\bazelroot ${ACTION} ${TARGETS} --config=ci -c opt --repo_env=WPI_PUBLISH_CLASSIFIER_FILTER='${{ matrix.classifier }}' --execution_log_compact_file="${{ matrix.name }} Exec Log.binpb.zst"
else
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"
fi
shell: bash

- uses: actions/upload-artifact@v7
with:
archive: false
include-hidden-files: true
path: "/github/home/.bazel/command-*.profile.gz"
Comment thread
Gold856 marked this conversation as resolved.
if: runner.os == 'Linux'

- uses: actions/upload-artifact@v7
with:
archive: false
path: "D:/bazelroot/**/command-*.profile.gz"
Comment thread
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"
- name: Check disk free space
if: always()
run: df -h
Expand Down
Loading