-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Project import generated by Copybara.
GitOrigin-RevId: 7eba9f3df682a9c61a6859be8a47065fbcee03b8
- Loading branch information
1 parent
97eab1b
commit 4e9c87f
Showing
2 changed files
with
116 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |