CI: Add CXXFLAGS from Travis

This errored for some Warnings to match OBS
This commit is contained in:
Fabian Homborg 2020-11-11 17:43:24 +01:00
parent e4b64448fa
commit 6e3537dbde

View file

@ -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 ..