Skip to content

Commit 7929b70

Browse files
authored
Publish build-timings info (#8032)
1 parent 26a1683 commit 7929b70

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

.github/buildomat/build-and-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ ptime -m bash ./tools/install_builder_prerequisites.sh -y
4545
# Write a machine-readable file with information about our build environment for
4646
# later analysis of test results.
4747
#
48-
jq --null-input >/work/environment.json \
48+
jq --null-input > "$OUTPUT_DIR/environment.json" \
4949
--arg bmat_factory_name "$(bmat factory name)" \
5050
--arg bmat_factory_private "$(bmat factory private)" \
5151
'{

.github/buildomat/jobs/build-and-test-helios.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,9 @@
2525
#: name = "environment.json"
2626
#: from_output = "/work/environment.json"
2727
#:
28+
#: [[publish]]
29+
#: series = "build-info-helios"
30+
#: name = "crate-build-timings.json"
31+
#: from_output = "/work/crate-build-timings.json"
2832

2933
exec .github/buildomat/build-and-test.sh illumos

.github/buildomat/jobs/build-and-test-linux.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@
2525
#: name = "environment.json"
2626
#: from_output = "/work/environment.json"
2727
#:
28+
#: [[publish]]
29+
#: series = "build-info-linux"
30+
#: name = "crate-build-timings.json"
31+
#: from_output = "/work/crate-build-timings.json"
32+
2833

2934
sudo apt-get install -y jq
3035
exec .github/buildomat/build-and-test.sh linux

0 commit comments

Comments
 (0)