Skip to content

Commit 4f9d5ff

Browse files
authored
Merge branch 'main' into link_problems_of_grpc
2 parents c8cbb66 + 545f9f4 commit 4f9d5ff

File tree

126 files changed

+416
-154
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

126 files changed

+416
-154
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1002,7 +1002,7 @@ jobs:
10021002

10031003
windows:
10041004
name: CMake -> exporter proto
1005-
runs-on: windows-2019
1005+
runs-on: windows-2022
10061006
steps:
10071007
- name: Harden the runner (Audit all outbound calls)
10081008
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
@@ -1024,7 +1024,7 @@ jobs:
10241024

10251025
windows-build-dll:
10261026
name: CMake -> exporter proto (Build as DLL)
1027-
runs-on: windows-2019
1027+
runs-on: windows-2022
10281028
steps:
10291029
- name: Harden the runner (Audit all outbound calls)
10301030
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
@@ -1048,7 +1048,7 @@ jobs:
10481048

10491049
windows_with_async_export:
10501050
name: CMake (With async export) -> exporter proto
1051-
runs-on: windows-2019
1051+
runs-on: windows-2022
10521052
steps:
10531053
- name: Harden the runner (Audit all outbound calls)
10541054
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
@@ -1070,7 +1070,7 @@ jobs:
10701070

10711071
windows_bazel:
10721072
name: Bazel Windows
1073-
runs-on: windows-2019
1073+
runs-on: windows-2022
10741074
steps:
10751075
- name: Harden the runner (Audit all outbound calls)
10761076
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
@@ -1088,7 +1088,7 @@ jobs:
10881088

10891089
windows_plugin_test:
10901090
name: Plugin -> CMake Windows
1091-
runs-on: windows-2019
1091+
runs-on: windows-2022
10921092
steps:
10931093
- name: Harden the runner (Audit all outbound calls)
10941094
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0

.github/workflows/cmake_install.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,13 @@ jobs:
3737
- name: Run DLL Tests
3838
run: ./ci/do_ci.ps1 cmake.dll.install.test
3939

40-
windows_2019_vcpkg_submodule_min_cmake:
41-
name: Windows 2019 vcpkg submodule versions minimum cmake cxx14 (static libs)
42-
runs-on: windows-2019
40+
windows_2025_vcpkg_submodule:
41+
name: Windows 2025 vcpkg submodule versions cxx20 (static libs)
42+
runs-on: windows-2025
4343
env:
44-
# cmake 3.15 is the minimum for windows builds (See https://github.com/open-telemetry/opentelemetry-cpp/pull/3349#discussion_r2030319430)
45-
CMAKE_VERSION: '3.15.0'
46-
# cxx14 is the default for windows-2019
47-
CXX_STANDARD: '14'
44+
# Set to the latest version of cmake 3.x
45+
CMAKE_VERSION: '3.31.6'
46+
CXX_STANDARD: '20'
4847
steps:
4948
- name: Harden the runner (Audit all outbound calls)
5049
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
@@ -411,4 +410,4 @@ jobs:
411410
- name: Run Tests (static libs)
412411
env:
413412
BUILD_SHARED_LIBS: 'OFF'
414-
run: ./ci/do_ci.sh cmake.install.test
413+
run: ./ci/do_ci.sh cmake.install.test

.github/workflows/iwyu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
readonly WARNING_COUNT=`grep -c "include-what-you-use reported diagnostics:" iwyu.log`
8888
echo "include-what-you-use reported ${WARNING_COUNT} warning(s)"
8989
# Acceptable limit, to decrease over time down to 0
90-
readonly WARNING_LIMIT=122
90+
readonly WARNING_LIMIT=0
9191
# FAIL the build if WARNING_COUNT > WARNING_LIMIT
9292
if [ $WARNING_COUNT -gt $WARNING_LIMIT ] ; then
9393
exit 1

api/test/common/spinlock_benchmark.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// SPDX-License-Identifier: Apache-2.0
33

44
#include <benchmark/benchmark.h>
5-
#include <algorithm>
65
#include <atomic>
76
#include <cstdint>
87
#include <thread>

api/test/common/string_util_test.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#include <string.h>
66

77
#include <opentelemetry/common/string_util.h>
8+
#include "opentelemetry/nostd/string_view.h"
89

910
// ------------------------- StringUtil class tests ---------------------------------
1011

api/test/context/context_test.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#include <stdint.h>
66
#include <map>
77
#include <string>
8+
#include <utility>
89

910
#include "opentelemetry/context/context.h"
1011
#include "opentelemetry/context/context_value.h"

api/test/context/propagation/composite_propagator_test.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
#include <gtest/gtest.h>
55
#include <stdint.h>
6-
#include <algorithm>
76
#include <map>
87
#include <string>
98
#include <utility>

api/test/logs/logger_benchmark.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
#include <benchmark/benchmark.h>
55
#include <stdint.h>
6-
#include <algorithm>
76
#include <condition_variable>
87
#include <cstddef>
98
#include <functional>

api/test/plugin/dynamic_load_test.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// SPDX-License-Identifier: Apache-2.0
33

44
#include <gtest/gtest.h>
5+
#include <memory>
56
#include <string>
67

78
#include "opentelemetry/plugin/dynamic_load.h"

api/test/singleton/component_a.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// SPDX-License-Identifier: Apache-2.0
33

44
#include "opentelemetry/nostd/shared_ptr.h"
5+
#include "opentelemetry/nostd/string_view.h"
56
#include "opentelemetry/trace/provider.h"
67
#include "opentelemetry/trace/scope.h"
78
#include "opentelemetry/trace/tracer.h"

0 commit comments

Comments
 (0)