diff --git a/devertexwahn/ci/ubuntu-22.04-bazel-query.yaml b/devertexwahn/ci/ubuntu-22.04-bazel-query.yaml new file mode 100644 index 00000000..cd4967b8 --- /dev/null +++ b/devertexwahn/ci/ubuntu-22.04-bazel-query.yaml @@ -0,0 +1,64 @@ +# +# SPDX-FileCopyrightText: Copyright 2022-2024 Julian Amann +# SPDX-License-Identifier: Apache-2.0 +# + +# GCC11 on Ubuntu 22.04 +# Make sure that Bazel query 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: | + df + displayName: 'Show disk space' + + - script: | + cd devertexwahn + bazel query //... + displayName: "Bazel query" + + - script: | + df + displayName: 'Show disk space' + + - script: | + cd devertexwahn + bazel cquery --config=gcc11 //... + displayName: "Bazel cquery" + + - script: | + df + displayName: 'Show disk space'