Skip to content

Commit

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

# LCOV and GCC11 on Ubuntu 22.04
# Make sure bzlmod works
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: |
df
displayName: 'Show disk space'
- script: |
cd devertexwahn
bazel version
displayName: 'Show Bazel version'
- script: |
gcc --version
displayName: 'Show GCC version'
- script: |
cd devertexwahn
bazel run --config=gcc11 -- //tools/compiler_information
displayName: "Show compiler information"
- script: |
cd devertexwahn
# Get rid of WORKSPACE.bazel file to make sure we only use bzlmod
rm WORKSPACE.bazel
# Get rid of WORKSPACE.bzlmod file to make sure we only use bzlmod
rm WORKKSPACE.bzlmod
rm .bazelversion
git diff
bazel version
bazel build --config=gcc11 -- //core/... //math/... //imaging/...
bazel test --config=gcc11 -- //core/... //math/... //imaging/...
displayName: 'Bzlmod test'
- script: |
df
displayName: 'Show disk space'

0 comments on commit 9d18f78

Please sign in to comment.