CI: Add CXXFLAGS from Travis
This errored for some Warnings to match OBS
This commit is contained in:
parent
e4b64448fa
commit
6e3537dbde
3
.github/workflows/main.yml
vendored
3
.github/workflows/main.yml
vendored
@ -18,6 +18,9 @@ jobs:
|
||||
sudo apt install gettext libncurses5-dev libpcre2-dev python3-pip
|
||||
sudo pip3 install pexpect
|
||||
- name: cmake
|
||||
env:
|
||||
# Some warnings upgraded to errors to match Open Build Service platforms
|
||||
CXXFLAGS: "-Werror=address -Werror=return-type"
|
||||
run: |
|
||||
mkdir build && cd build
|
||||
cmake ..
|
||||
|
Loading…
x
Reference in New Issue
Block a user