From 6f48564322cf76e2313d5195657e2804b6341ebb Mon Sep 17 00:00:00 2001 From: yolo2themoon Date: Wed, 27 Oct 2021 14:10:22 +0800 Subject: [PATCH 1/2] [ci] Update postsubmit job performance_monitoring --- .github/workflows/postsubmit.yml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/.github/workflows/postsubmit.yml b/.github/workflows/postsubmit.yml index 1737129a39e5e..bf1cae838b986 100644 --- a/.github/workflows/postsubmit.yml +++ b/.github/workflows/postsubmit.yml @@ -245,6 +245,19 @@ jobs: BUILD_NUM_THREADS: 8 CXX: clang++-10 - - name: Run benchmark + - name: Run performance-monitoring run: | - python3 benchmarks/misc/run.py /home/benchmarkbot/benchmark/ + export BENCHMARK_CODE_DIR=`pwd`/benchmarks/misc/ + cd .. + # clone repo + rm -rf performance-monitoring + git clone git@github.com:taichi-dev/performance-monitoring.git + cd performance-monitoring + # update repo (benchmarks code) + cp -r $BENCHMARK_CODE_DIR/* ./benchmarks/ + # run benchmark & store results + ./run.sh + # update repo (push reslut) + ./scripts/push.sh + env: + PULL_REQUEST_NUMBER: ${{github.event.number}} From f521415f55fe6029c55857e09a8825c60d449cc5 Mon Sep 17 00:00:00 2001 From: yolo2themoon Date: Wed, 27 Oct 2021 15:00:50 +0800 Subject: [PATCH 2/2] typo --- .github/workflows/postsubmit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/postsubmit.yml b/.github/workflows/postsubmit.yml index bf1cae838b986..addf38c41c76e 100644 --- a/.github/workflows/postsubmit.yml +++ b/.github/workflows/postsubmit.yml @@ -257,7 +257,7 @@ jobs: cp -r $BENCHMARK_CODE_DIR/* ./benchmarks/ # run benchmark & store results ./run.sh - # update repo (push reslut) + # update repo (push results) ./scripts/push.sh env: PULL_REQUEST_NUMBER: ${{github.event.number}}