Skip to content

Commit

Permalink
Print what is being executed on CI
Browse files Browse the repository at this point in the history
This makes it easier to grep for executed commands in CI logs
  • Loading branch information
Kobzol committed Jun 19, 2023
1 parent 1dba972 commit 0c147d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/ci/docker/host-x86_64/x86_64-gnu-llvm-14/script.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

set -e
set -ex

# Only run the stage 1 tests on merges, not on PR CI jobs.
if [[ -z "${PR_CI_JOB}" ]]; then
Expand Down
1 change: 1 addition & 0 deletions src/ci/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ else
fi

if [ ! -z "$SCRIPT" ]; then
echo "Executing ${SCRIPT}"
sh -x -c "$SCRIPT"
else
do_make() {
Expand Down

0 comments on commit 0c147d5

Please sign in to comment.