@@ -123,7 +123,7 @@ jobs:
123123 matrix :
124124 arch : ["arm64", "amd64"]
125125 include :
126- - runner : windows-11-arm
126+ - runner : windows-11-arm
127127 arch : arm64
128128 - runner : windows-2022
129129 arch : amd64
@@ -149,7 +149,7 @@ jobs:
149149 run : scoop install main/cmake@4.0.1 main/ninja
150150 - name : Build
151151 run : |
152- & 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\Common7\\Tools\\Launch-VsDevShell.ps1' -arch ${{ matrix.arch }}
152+ & 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\Common7\\Tools\\Launch-VsDevShell.ps1' -arch ${{ matrix.arch }}
153153 cmake --preset=ci-msvc -B build -DCMAKE_BUILD_TYPE=Debug .
154154 cmake --build build -j $env:MAKE_JOB_COUNT -v
155155 - name : Test
@@ -163,7 +163,7 @@ jobs:
163163 ./datadog-ci.exe junit upload --service dd-trace-cpp --tags test.source.file:test/*.cpp report.xml
164164
165165 coverage :
166- needs : build-linux-cmake
166+ needs : build-linux-cmake
167167 runs-on : ubuntu-22.04-arm
168168 container :
169169 image : datadog/docker-library:dd-trace-cpp-ci-23768e9-arm64
@@ -177,20 +177,21 @@ jobs:
177177 steps :
178178 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
179179 - run : bin/test --coverage --verbose
180- - name : Report Datadog coverage
181- run : |
182- curl -L --fail "https://github.com/DataDog/datadog-ci/releases/latest/download/datadog-ci_linux-arm64" --output "/usr/local/bin/datadog-ci" && chmod +x /usr/local/bin/datadog-ci
183- cd .coverage
184- cp filtered.info lcov.info
185- datadog-ci coverage upload lcov.info
180+ - name : Upload code coverage report to Datadog
181+ # See https://github.com/DataDog/coverage-upload-github-action/releases
182+ uses : DataDog/coverage-upload-github-action@2ba057033351887422f8eb0203d1990c3acbc8c5 # v1.0.4
183+ with :
184+ api_key : ${{ secrets.DD_CI_VIS_API_KEY }}
185+ files : .coverage/filtered.info
186+ format : lcov
186187
187188 build-system-tests-artifact :
188189 runs-on : ubuntu-22.04
189190 steps :
190- - run : mkdir binaries
191+ - run : mkdir binaries
191192 - run : echo "https://github.com/DataDog/dd-trace-cpp@${BRANCH_NAME}" > binaries/cpp-load-from-git
192193 env :
193- BRANCH_NAME : ${{ github.head_ref || github.ref_name }}
194+ BRANCH_NAME : ${{ github.head_ref || github.ref_name }}
194195 - name : Save artifact
195196 uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
196197 with :
0 commit comments