1919 CMAKE_VERSION : ' 3.31.6'
2020 # cxx17 is the default for windows-2022
2121 CXX_STANDARD : ' 17'
22- CMAKE_ARGS : " -DWITH_STL=CXX17"
22+ CMAKE_ARGS : " -DWITH_STL=CXX17 -DOPENTELEMETRY_REQUIRE_LOCAL_DEPENDENCIES=ON "
2323 steps :
2424 - name : Harden the runner (Audit all outbound calls)
2525 uses : step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
4646 CMAKE_VERSION : ' 3.15.0'
4747 # cxx14 is the default for windows-2019
4848 CXX_STANDARD : ' 14'
49- CMAKE_ARGS : " -DWITH_GSL=ON"
49+ CMAKE_ARGS : " -DWITH_GSL=ON -DOPENTELEMETRY_REQUIRE_LOCAL_DEPENDENCIES=ON "
5050 steps :
5151 - name : Harden the runner (Audit all outbound calls)
5252 uses : step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
7272 CMAKE_VERSION : ' 3.28.3'
7373 # cxx17 is the default for Ubuntu 24.04
7474 CXX_STANDARD : ' 17'
75+ CMAKE_ARGS : " -DOPENTELEMETRY_REQUIRE_LOCAL_DEPENDENCIES=ON"
7576 BUILD_TYPE : ' Debug'
7677 steps :
7778 - name : Harden the runner (Audit all outbound calls)
@@ -108,6 +109,7 @@ jobs:
108109 CMAKE_VERSION : ' 3.28.3'
109110 # The default cxx standard for Ubuntu 24.04
110111 CXX_STANDARD : ' 17'
112+ CMAKE_ARGS : " -DOPENTELEMETRY_FORCE_FETCH_DEPENDENCIES=ON"
111113 BUILD_TYPE : ' Debug'
112114 steps :
113115 - name : Harden the runner (Audit all outbound calls)
@@ -273,6 +275,7 @@ jobs:
273275 # CMake 3.28 is apt package version for Ubuntu 24.04
274276 CMAKE_VERSION : ' 3.28.3'
275277 CXX_STANDARD : ' 17'
278+ CMAKE_ARGS : " -DOPENTELEMETRY_REQUIRE_LOCAL_DEPENDENCIES=ON"
276279 CMAKE_TOOLCHAIN_FILE : /home/runner/conan/build/Debug/generators/conan_toolchain.cmake
277280 BUILD_TYPE : ' Debug'
278281 steps :
@@ -284,6 +287,9 @@ jobs:
284287 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
285288 with :
286289 submodules : false
290+ - name : Get required submodules
291+ run : |
292+ git submodule update --init --depth 1 third_party/opentelemetry-proto
287293 - name : Install Conan
288294 run : |
289295 python3 -m pip install pip==25.0.1
@@ -316,6 +322,7 @@ jobs:
316322 # Set to the latest version of cmake 3.x
317323 CMAKE_VERSION : ' 3.31.6'
318324 CXX_STANDARD : ' 17'
325+ CMAKE_ARGS : " -DOPENTELEMETRY_REQUIRE_LOCAL_DEPENDENCIES=ON"
319326 CMAKE_TOOLCHAIN_FILE : /home/runner/conan/build/Debug/generators/conan_toolchain.cmake
320327 BUILD_TYPE : ' Debug'
321328 steps :
@@ -327,6 +334,9 @@ jobs:
327334 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
328335 with :
329336 submodules : false
337+ - name : Get required submodules
338+ run : |
339+ git submodule update --init --depth 1 third_party/opentelemetry-proto
330340 - name : Install Conan
331341 run : |
332342 python3 -m pip install pip==25.0.1
@@ -354,6 +364,7 @@ jobs:
354364 INSTALL_TEST_DIR : ' /Users/runner/install_test'
355365 CMAKE_VERSION : ' 3.28.3'
356366 CXX_STANDARD : ' 17'
367+ CMAKE_ARGS : " -DOPENTELEMETRY_REQUIRE_LOCAL_DEPENDENCIES=ON"
357368 CMAKE_TOOLCHAIN_FILE : ' /Users/runner/conan/build/Debug/generators/conan_toolchain.cmake'
358369 BUILD_TYPE : ' Debug'
359370 steps :
@@ -365,6 +376,9 @@ jobs:
365376 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
366377 with :
367378 submodules : false
379+ - name : Get required submodules
380+ run : |
381+ git submodule update --init --depth 1 third_party/opentelemetry-proto
368382 - name : Install Conan and tools
369383 run : |
370384 brew install conan autoconf automake libtool coreutils
@@ -385,6 +399,7 @@ jobs:
385399 # Set to the latest version of cmake 3.x
386400 CMAKE_VERSION : ' 3.31.6'
387401 CXX_STANDARD : ' 17'
402+ CMAKE_ARGS : " -DOPENTELEMETRY_REQUIRE_LOCAL_DEPENDENCIES=ON"
388403 BUILD_TYPE : ' Debug'
389404 steps :
390405 - name : Harden the runner (Audit all outbound calls)
@@ -395,6 +410,9 @@ jobs:
395410 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
396411 with :
397412 submodules : false
413+ - name : Get required submodules
414+ run : |
415+ git submodule update --init --depth 1 third_party/opentelemetry-proto
398416 - name : Install Dependencies with Homebrew
399417 run : |
400418 ./ci/setup_cmake_macos.sh
0 commit comments