|
21 | 21 | # submodules: 'recursive' |
22 | 22 | # - name: setup |
23 | 23 | # env: |
24 | | -# CXX_STANDARD: '14' |
| 24 | +# CXX_STANDARD: '17' |
25 | 25 | # CC: /usr/bin/gcc-10 |
26 | 26 | # CXX: /usr/bin/g++-10 |
27 | 27 | # run: | |
@@ -59,15 +59,18 @@ jobs: |
59 | 59 | env: |
60 | 60 | CXX_STANDARD: '17' |
61 | 61 | CMAKE_VERSION: '3.16.0' |
62 | | - BUILD_TYPE: 'Debug' |
| 62 | + BUILD_TYPE: 'Release' |
63 | 63 | steps: |
64 | 64 | - name: Harden the runner (Audit all outbound calls) |
65 | 65 | uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1 |
66 | 66 | with: |
67 | 67 | egress-policy: audit |
68 | 68 | - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 |
69 | 69 | with: |
70 | | - submodules: 'recursive' |
| 70 | + submodules: 'false' |
| 71 | + - name: checkout googletest |
| 72 | + run: | |
| 73 | + git submodule update --init --recursive ./third_party/googletest |
71 | 74 | - name: setup |
72 | 75 | run: | |
73 | 76 | sudo -E ./ci/setup_ci_environment.sh |
|
86 | 89 | env: |
87 | 90 | CC: /usr/bin/gcc-14 |
88 | 91 | CXX: /usr/bin/g++-14 |
89 | | - CXX_STANDARD: '14' |
| 92 | + CXX_STANDARD: '17' |
90 | 93 | steps: |
91 | 94 | - name: Harden the runner (Audit all outbound calls) |
92 | 95 | uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1 |
@@ -120,7 +123,7 @@ jobs: |
120 | 123 | env: |
121 | 124 | CC: /usr/bin/gcc-14 |
122 | 125 | CXX: /usr/bin/g++-14 |
123 | | - CXX_STANDARD: '14' |
| 126 | + CXX_STANDARD: '17' |
124 | 127 | steps: |
125 | 128 | - name: Harden the runner (Audit all outbound calls) |
126 | 129 | uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1 |
@@ -154,7 +157,7 @@ jobs: |
154 | 157 | env: |
155 | 158 | CC: /usr/bin/clang-18 |
156 | 159 | CXX: /usr/bin/clang++-18 |
157 | | - CXX_STANDARD: '14' |
| 160 | + CXX_STANDARD: '17' |
158 | 161 | steps: |
159 | 162 | - name: Harden the runner (Audit all outbound calls) |
160 | 163 | uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1 |
@@ -182,13 +185,86 @@ jobs: |
182 | 185 | run: | |
183 | 186 | (cd ./functional/otlp; ./run_test.sh) |
184 | 187 |
|
| 188 | + cmake_clang_maintainer_cxx14_async_test: |
| 189 | + name: CMake clang 18 with C++14 (maintainer mode, async) |
| 190 | + runs-on: ubuntu-24.04 |
| 191 | + env: |
| 192 | + CC: /usr/bin/clang-18 |
| 193 | + CXX: /usr/bin/clang++-18 |
| 194 | + CXX_STANDARD: '14' |
| 195 | + steps: |
| 196 | + - name: Harden the runner (Audit all outbound calls) |
| 197 | + uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1 |
| 198 | + with: |
| 199 | + egress-policy: audit |
| 200 | + - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 |
| 201 | + with: |
| 202 | + submodules: 'recursive' |
| 203 | + - name: setup |
| 204 | + run: | |
| 205 | + sudo -E ./ci/setup_ci_environment.sh |
| 206 | + - name: install dependencies |
| 207 | + run: | # install c++14 compatible third-party versions |
| 208 | + sudo -E ./ci/install_thirdparty.sh --install-dir /usr/local --tags-file ./install/cmake/third_party_stable |
| 209 | + - name: run cmake clang (maintainer mode, async) |
| 210 | + run: | |
| 211 | + ./ci/do_ci.sh cmake.maintainer.async.test |
| 212 | + - name: generate test cert |
| 213 | + env: |
| 214 | + CFSSL_VERSION: 1.6.3 |
| 215 | + run: | |
| 216 | + sudo -E ./tools/setup-cfssl.sh |
| 217 | + (cd ./functional/cert; ./generate_cert.sh) |
| 218 | + - name: run func test |
| 219 | + run: | |
| 220 | + (cd ./functional/otlp; ./run_test.sh) |
| 221 | +
|
| 222 | + cmake_clang_yaml_config: |
| 223 | + name: CMake clang 18 (maintainer mode, yaml config) |
| 224 | + runs-on: ubuntu-24.04 |
| 225 | + env: |
| 226 | + CC: /usr/bin/clang-18 |
| 227 | + CXX: /usr/bin/clang++-18 |
| 228 | + CXX_STANDARD: '17' |
| 229 | + steps: |
| 230 | + - name: Harden the runner (Audit all outbound calls) |
| 231 | + uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1 |
| 232 | + with: |
| 233 | + egress-policy: audit |
| 234 | + - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 |
| 235 | + with: |
| 236 | + submodules: 'recursive' |
| 237 | + - name: setup |
| 238 | + run: | |
| 239 | + sudo -E ./ci/setup_ci_environment.sh |
| 240 | + - name: install dependencies |
| 241 | + run: | |
| 242 | + sudo -E ./ci/install_thirdparty.sh --install-dir /usr/local --tags-file third_party_release |
| 243 | + - name: run cmake clang (maintainer mode, sync) |
| 244 | + run: | |
| 245 | + ./ci/do_ci.sh cmake.maintainer.yaml.test |
| 246 | + - name: install shelltest |
| 247 | + run: sudo apt update && sudo apt-get install -y shelltestrunner |
| 248 | + - name: generate test cert |
| 249 | + env: |
| 250 | + CFSSL_VERSION: 1.6.3 |
| 251 | + run: | |
| 252 | + sudo -E ./tools/setup-cfssl.sh |
| 253 | + (cd ./functional/cert; ./generate_cert.sh) |
| 254 | + - name: run otlp func test |
| 255 | + run: | |
| 256 | + (cd ./functional/otlp; ./run_test.sh) |
| 257 | + - name: run configuration func test |
| 258 | + run: | |
| 259 | + (cd ./functional/configuration; ./run_test.sh) |
| 260 | +
|
185 | 261 | cmake_clang_maintainer_async_test: |
186 | 262 | name: CMake clang 18 (maintainer mode, async) |
187 | 263 | runs-on: ubuntu-24.04 |
188 | 264 | env: |
189 | 265 | CC: /usr/bin/clang-18 |
190 | 266 | CXX: /usr/bin/clang++-18 |
191 | | - CXX_STANDARD: '14' |
| 267 | + CXX_STANDARD: '17' |
192 | 268 | steps: |
193 | 269 | - name: Harden the runner (Audit all outbound calls) |
194 | 270 | uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1 |
@@ -222,7 +298,7 @@ jobs: |
222 | 298 | env: |
223 | 299 | CC: /usr/bin/clang-18 |
224 | 300 | CXX: /usr/bin/clang++-18 |
225 | | - CXX_STANDARD: '14' |
| 301 | + CXX_STANDARD: '17' |
226 | 302 | steps: |
227 | 303 | - name: Harden the runner (Audit all outbound calls) |
228 | 304 | uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1 |
@@ -367,6 +443,9 @@ jobs: |
367 | 443 | - name: setup |
368 | 444 | run: | |
369 | 445 | sudo -E ./ci/setup_ci_environment.sh |
| 446 | + - name: install dependencies |
| 447 | + run: | |
| 448 | + sudo -E ./ci/install_thirdparty.sh --install-dir /usr/local --tags-file ./install/cmake/third_party_stable --packages "googletest;benchmark" |
370 | 449 | - name: run tests (enable stl) |
371 | 450 | env: |
372 | 451 | CXX_STANDARD: '14' |
@@ -656,32 +735,6 @@ jobs: |
656 | 735 | - name: run tests |
657 | 736 | run: ./ci/do_ci.sh bazel.test |
658 | 737 |
|
659 | | - bazel_no_bzlmod_test: |
660 | | - name: Bazel without bzlmod |
661 | | - runs-on: ubuntu-latest |
662 | | - steps: |
663 | | - - name: Harden the runner (Audit all outbound calls) |
664 | | - uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1 |
665 | | - with: |
666 | | - egress-policy: audit |
667 | | - |
668 | | - - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 |
669 | | - with: |
670 | | - submodules: 'recursive' |
671 | | - - name: Mount Bazel Cache |
672 | | - uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 |
673 | | - env: |
674 | | - cache-name: bazel_cache |
675 | | - with: |
676 | | - path: /home/runner/.cache/bazel |
677 | | - key: bazel_test |
678 | | - - name: setup |
679 | | - run: | |
680 | | - sudo ./ci/setup_ci_environment.sh |
681 | | - sudo ./ci/install_bazelisk.sh |
682 | | - - name: run tests |
683 | | - run: ./ci/do_ci.sh bazel.no_bzlmod.test |
684 | | - |
685 | 738 | bazel_test_async: |
686 | 739 | name: Bazel with async export |
687 | 740 | runs-on: ubuntu-latest |
@@ -850,6 +903,11 @@ jobs: |
850 | 903 | - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 |
851 | 904 | with: |
852 | 905 | submodules: 'recursive' |
| 906 | + - name: Install CMake |
| 907 | + env: |
| 908 | + CMAKE_VERSION: 3.31.6 # the macos runner installs CMake 4.x and is not compatible with opentracing |
| 909 | + run: | |
| 910 | + ./ci/setup_cmake_macos.sh |
853 | 911 | - name: Mount Bazel Cache |
854 | 912 | uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 |
855 | 913 | env: |
@@ -1138,7 +1196,7 @@ jobs: |
1138 | 1196 | sudo -E apt-get install -y zlib1g-dev libcurl4-openssl-dev |
1139 | 1197 | - name: run w3c trace-context test server (background) |
1140 | 1198 | env: |
1141 | | - CXX_STANDARD: '14' |
| 1199 | + CXX_STANDARD: '17' |
1142 | 1200 | run: | |
1143 | 1201 | ./ci/do_ci.sh cmake.w3c.trace-context.build-server |
1144 | 1202 | cd $HOME/build/ext/test/w3c_tracecontext_http_test_server |
|
0 commit comments