Skip to content

Commit 92fa795

Browse files
marc-hbkv2019i
authored andcommitted
.github/zephyr: time some fetch commands
GitHub conveniently times each step but to reduce step proliferation we sometimes have multiple commands in a single step and lose the ability to time download commands. Prefix them with `time` to restore the data. Signed-off-by: Marc Herbert <marc.herbert@intel.com>
1 parent 4bc6488 commit 92fa795

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/zephyr.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ jobs:
133133
- name: west clones
134134

135135
run: pip3 install west && cd workspace/sof/ && west init -l &&
136-
west update --narrow --fetch-opt=--filter=tree:0
136+
time west update --narrow --fetch-opt=--filter=tree:0
137137

138138
- name: select zephyr revision
139139
run: |
@@ -149,7 +149,7 @@ jobs:
149149
sed -e "s#=sof_zephyr_revision_override=#${rem_rev}#" \
150150
sof-ci-jenkins/zephyr-override-template.yml > test-zephyr-main.yml
151151
)
152-
west update --narrow --fetch-opt=--filter=tree:0
152+
time west update --narrow --fetch-opt=--filter=tree:0
153153
fi
154154
155155
# Because we used git tricks to speed things up, we now have two git
@@ -167,7 +167,7 @@ jobs:
167167
# both issues in no time.
168168
169169
cd zephyr
170-
git fetch --filter=tree:0 "$(git remote |head -n1)" "$rem_rev":_branch_placeholder
170+
time git fetch --filter=tree:0 "$(git remote |head -n1)" "$rem_rev":_branch_placeholder
171171
git branch -D _branch_placeholder
172172
173173
set -x

0 commit comments

Comments
 (0)