Skip to content

Commit

Permalink
Project import generated by Copybara.
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 7eba9f3df682a9c61a6859be8a47065fbcee03b8
  • Loading branch information
Vertexwahn committed Jan 1, 2024
1 parent 97eab1b commit 4e9c87f
Show file tree
Hide file tree
Showing 2 changed files with 116 additions and 0 deletions.
60 changes: 60 additions & 0 deletions devertexwahn/ci/ubuntu-20.04-gcc9-fast.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
#
# SPDX-FileCopyrightText: Copyright 2022-2023 Julian Amann <[email protected]>
# SPDX-License-Identifier: Apache-2.0
#

# GCC9 on Ubuntu 20.04
# Make sure we can build with GCC 9 in all different compilation modes

steps:
- script: |
df -H
displayName: 'Show disk space'
- checkout: self
clean: true
fetchDepth: 1
lfs: false
submodules: false


- script: |
lsb_release -a
displayName: 'Show OS version'
- script: |
df -H
displayName: 'Show disk space'
- script: |
cd devertexwahn
bazel version
displayName: 'Show Bazel version'
- script: |
gcc --version
displayName: 'Show GCC version'
- script: |
df -H
displayName: 'Show disk space'
- script: |
cd devertexwahn
bazel build --config=gcc9 -- //...
displayName: 'Bazel build gcc9-fastbuild'
- script: |
df -H
displayName: 'Show disk space'
- script: |
cd devertexwahn
bazel test --config=gcc9 -- //...
displayName: 'Bazel test gcc9-fastbuild'
- script: |
df
displayName: 'Show disk space'
56 changes: 56 additions & 0 deletions devertexwahn/ci/ubuntu-20.04-gcc9-opt.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
#
# SPDX-FileCopyrightText: Copyright 2022-2023 Julian Amann <[email protected]>
# SPDX-License-Identifier: Apache-2.0
#

# GCC9 on Ubuntu 20.04
# Make sure we can build with GCC 9 in all different compilation modes

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 -H
displayName: 'Show disk space'
- script: |
cd devertexwahn
bazel version
displayName: 'Show Bazel version'
- script: |
gcc --version
displayName: 'Show GCC version'
- script: |
df -H
displayName: 'Show disk space'
# Qt compilation does not work: "You must build your code with position independent code if Qt was built with -reduce-relocations. " "Compile your code with -fPIC (and not with -fPIE)."
- script: |
cd devertexwahn
bazel build --config=gcc9 --compilation_mode=opt -- //...
displayName: 'Bazel build gcc9-opt'
- script: |
cd devertexwahn
bazel test --config=gcc9 --compilation_mode=opt -- //...
displayName: 'Bazel test gcc9-opt'
- script: |
df
displayName: 'Show disk space'

0 comments on commit 4e9c87f

Please sign in to comment.