From efaa8b73e6dc11f35a4f756a063bbe129c316b40 Mon Sep 17 00:00:00 2001 From: Mikhail Goncharov Date: Tue, 7 Jul 2020 15:13:38 +0200 Subject: [PATCH] fix build command on windows --- scripts/buildkite/build_branch_pipeline.py | 6 +++--- scripts/buildkite/build_master_pipeline.py | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/buildkite/build_branch_pipeline.py b/scripts/buildkite/build_branch_pipeline.py index c833c8a..7357ae7 100755 --- a/scripts/buildkite/build_branch_pipeline.py +++ b/scripts/buildkite/build_branch_pipeline.py @@ -53,12 +53,12 @@ if __name__ == '__main__': '\\$exit=\\$?;' 'sccache --show-stats;' 'if (\\$exit) {' - ' echo "success";' + ' echo success;' ' exit 0; } ' 'else {' - ' echo "failure";' + ' echo failure;' ' exit 1;' - '}', + '}"', ], 'artifact_paths': ['artifacts/**/*', '*_result.json'], 'agents': {'queue': f'{queue_prefix}windows'}, diff --git a/scripts/buildkite/build_master_pipeline.py b/scripts/buildkite/build_master_pipeline.py index 1b5e66a..a9fdda6 100755 --- a/scripts/buildkite/build_master_pipeline.py +++ b/scripts/buildkite/build_master_pipeline.py @@ -45,16 +45,16 @@ if __name__ == '__main__': 'rm -rf %SRC%', 'git clone --depth 1 --branch %scripts_branch% https://github.com/google/llvm-premerge-checks.git %SRC%', 'powershell -command "%SRC%/scripts/premerge_checks.py ' - '--projects="clang;clang-tools-extra;libc;libcxx;libcxxabi;lld;libunwind;mlir;flang;openmp;polly;compiler-rt"; ' + '--projects=\'clang;clang-tools-extra;libc;libcxx;libcxxabi;lld;libunwind;mlir;flang;openmp;polly;compiler-rt\'; ' '\\$exit=\\$?;' 'sccache --show-stats;' 'if (\\$exit) {' - ' echo "success";' + ' echo success;' ' exit 0; } ' 'else {' - ' echo "failure";' + ' echo failure;' ' exit 1;' - '}', + '}"', ], 'artifact_paths': ['artifacts/**/*', '*_result.json'], 'agents': {'queue': f'{queue_prefix}windows'},