Skip to content

Commit 5642d1c

Browse files
authored
[BUILD] Fix benchmark CI (open-telemetry#1808)
1 parent e1b5611 commit 5642d1c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/benchmark.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ permissions:
1111
jobs:
1212
benchmark:
1313
name: Run OpenTelemetry-cpp benchmarks
14-
runs-on: ubuntu-20.04
14+
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@v3
1717
with:
@@ -30,7 +30,7 @@ jobs:
3030
- name: Run benchmark
3131
id: run_benchmarks
3232
run: |
33-
ci/do_ci.sh bazel.benchmark
33+
CC=/usr/bin/gcc-10 CXX=/usr/bin/g++-10 ci/do_ci.sh bazel.benchmark
3434
mkdir -p benchmarks
3535
mv api-benchmark_result.json benchmarks
3636
mv sdk-benchmark_result.json benchmarks
@@ -45,7 +45,7 @@ jobs:
4545
matrix:
4646
components: ["api", "sdk", "exporters"]
4747
name: Store benchmark result
48-
runs-on: ubuntu-20.04
48+
runs-on: ubuntu-latest
4949
steps:
5050
- uses: actions/checkout@v3
5151
- uses: actions/download-artifact@master

0 commit comments

Comments
 (0)