|
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,47 @@ 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 | +
|
185 | 222 | cmake_clang_yaml_config: |
186 | 223 | name: CMake clang 18 (maintainer mode, yaml config) |
187 | 224 | runs-on: ubuntu-24.04 |
188 | 225 | env: |
189 | 226 | CC: /usr/bin/clang-18 |
190 | 227 | CXX: /usr/bin/clang++-18 |
191 | | - CXX_STANDARD: '14' |
| 228 | + CXX_STANDARD: '17' |
192 | 229 | steps: |
193 | 230 | - name: Harden the runner (Audit all outbound calls) |
194 | 231 | uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1 |
@@ -227,7 +264,7 @@ jobs: |
227 | 264 | env: |
228 | 265 | CC: /usr/bin/clang-18 |
229 | 266 | CXX: /usr/bin/clang++-18 |
230 | | - CXX_STANDARD: '14' |
| 267 | + CXX_STANDARD: '17' |
231 | 268 | steps: |
232 | 269 | - name: Harden the runner (Audit all outbound calls) |
233 | 270 | uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1 |
@@ -261,7 +298,7 @@ jobs: |
261 | 298 | env: |
262 | 299 | CC: /usr/bin/clang-18 |
263 | 300 | CXX: /usr/bin/clang++-18 |
264 | | - CXX_STANDARD: '14' |
| 301 | + CXX_STANDARD: '17' |
265 | 302 | steps: |
266 | 303 | - name: Harden the runner (Audit all outbound calls) |
267 | 304 | uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1 |
@@ -406,6 +443,9 @@ jobs: |
406 | 443 | - name: setup |
407 | 444 | run: | |
408 | 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" |
409 | 449 | - name: run tests (enable stl) |
410 | 450 | env: |
411 | 451 | CXX_STANDARD: '14' |
@@ -889,6 +929,11 @@ jobs: |
889 | 929 | - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 |
890 | 930 | with: |
891 | 931 | submodules: 'recursive' |
| 932 | + - name: Install CMake |
| 933 | + env: |
| 934 | + CMAKE_VERSION: 3.31.6 # the macos runner installs CMake 4.x and is not compatible with opentracing |
| 935 | + run: | |
| 936 | + ./ci/setup_cmake_macos.sh |
892 | 937 | - name: Mount Bazel Cache |
893 | 938 | uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 |
894 | 939 | env: |
@@ -1177,7 +1222,7 @@ jobs: |
1177 | 1222 | sudo -E apt-get install -y zlib1g-dev libcurl4-openssl-dev |
1178 | 1223 | - name: run w3c trace-context test server (background) |
1179 | 1224 | env: |
1180 | | - CXX_STANDARD: '14' |
| 1225 | + CXX_STANDARD: '17' |
1181 | 1226 | run: | |
1182 | 1227 | ./ci/do_ci.sh cmake.w3c.trace-context.build-server |
1183 | 1228 | cd $HOME/build/ext/test/w3c_tracecontext_http_test_server |
|
0 commit comments