File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -25,12 +25,12 @@ jobs:
25
25
key : bazel_benchmark
26
26
- name : setup
27
27
run : |
28
- sudo -E ./ci/setup_cmake .sh
29
- sudo -E ./ci/setup_ci_environment .sh
28
+ sudo ./ci/setup_ci_environment .sh
29
+ sudo ./ci/install_bazelisk .sh
30
30
- name : Run benchmark
31
31
id : run_benchmarks
32
32
run : |
33
- CC=/usr/bin/gcc-10 CXX=/usr/bin/g++-10 ci/do_ci.sh bazel.benchmark
33
+ ./ ci/do_ci.sh bazel.benchmark
34
34
mkdir -p benchmarks
35
35
mv api-benchmark_result.json benchmarks
36
36
mv sdk-benchmark_result.json benchmarks
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ function run_benchmarks
25
25
26
26
[ -z " ${BENCHMARK_DIR} " ] && export BENCHMARK_DIR=$HOME /benchmark
27
27
mkdir -p $BENCHMARK_DIR
28
- bazel $BAZEL_STARTUP_OPTIONS build --cxxopt=-std=c++14 $BAZEL_OPTIONS_ASYNC -c opt -- \
28
+ bazel $BAZEL_STARTUP_OPTIONS build --host_cxxopt=-std=c++14 -- cxxopt=-std=c++14 $BAZEL_OPTIONS_ASYNC -c opt -- \
29
29
$( bazel query ' attr("tags", "benchmark_result", ...)' )
30
30
echo " "
31
31
echo " Benchmark results in $BENCHMARK_DIR :"
You can’t perform that action at this time.
0 commit comments