Skip to content

Commit

Permalink
Add coverage job
Browse files Browse the repository at this point in the history
GitOrigin-RevId: fd5df92958d79c6b5f51a52a59d7778ed8bd9d98
  • Loading branch information
Vertexwahn committed Apr 22, 2024
1 parent b245a2c commit fe9c7fa
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions devertexwahn/ci/ubuntu-22.04-coverage.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
#
# SPDX-FileCopyrightText: Copyright 2022-2023 Julian Amann <[email protected]>
# SPDX-License-Identifier: Apache-2.0
#

# LCOV and GCC11 on Ubuntu 22.04
# Make sure code coverage does not drop
steps:
- script: |
df
displayName: 'Show disk space'
- checkout: self
clean: true
fetchDepth: 1
lfs: false
submodules: false


- script: |
lsb_release -a
displayName: "Show OS version"
- script: |
cd devertexwahn
bazel version
displayName: "Show Bazel version"
- script: |
gcc --version
displayName: "Show GCC version"
- script: |
sudo apt install lcov
displayName: "Install lcov"
- script: |
cd devertexwahn
./coverage.sh buildbuddy_remote_cache
displayName: 'Bazel coverage'
#- task: PublishBuildArtifacts@1
# inputs:
# pathToPublish: coverage_report
# artifactName: HtmlReport

- script: |
df
displayName: 'Show disk space'

0 comments on commit fe9c7fa

Please sign in to comment.