diff options
author | Guillem Jover <guillem@hadrons.org> | 2021-09-15 14:15:24 +0200 |
---|---|---|
committer | Guillem Jover <guillem@hadrons.org> | 2021-09-15 14:53:19 +0200 |
commit | 6b45ffafd101450dbd11ff0c40e8776974bee108 (patch) | |
tree | f3414cb51d523f9ade76bb55e5dee31e6858f5da /.github | |
parent | 055ed4352a159bf4c9ab14296a563f36a0a6b8f2 (diff) | |
download | liburing-6b45ffafd101450dbd11ff0c40e8776974bee108.tar.gz |
.github/workflows/build.yml: Pass -g -O2 -Wall -Wextra explicitly
As these flags are marked as optional now they get reset when we pass
explicit flags.
Signed-off-by: Guillem Jover <guillem@hadrons.org>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build.yml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 432dbb6..f82d0e6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,6 +18,9 @@ jobs: - cc: clang cxx: clang++ + env: + FLAGS: -g -O2 -Wall -Wextra -Werror + steps: - name: Checkout source uses: actions/checkout@v2 @@ -32,8 +35,8 @@ jobs: ./configure --cc=${{matrix.cc}} --cxx=${{matrix.cxx}} make V=1 -j$(nproc) \ CPPFLAGS="-Werror" \ - CFLAGS="-Werror" \ - CXXFLAGS="-Werror" + CFLAGS="$FLAGS" \ + CXXFLAGS="$FLAGS" - name: Test install command run: | |