diff options
author | Madelyn Olson <madelyneolson@gmail.com> | 2020-10-19 17:26:57 -0700 |
---|---|---|
committer | Madelyn Olson <34459052+madolson@users.noreply.github.com> | 2020-10-26 21:46:50 -0700 |
commit | 4d1120f5fd5e74eaaf883b0233d3055a19cd56a9 (patch) | |
tree | 1555b0109ee0836de711d3bda67f28a3fd76c353 /.github | |
parent | 9824fe3e392caa04dc1b4071886e9ac402dd6d95 (diff) | |
download | redis-4d1120f5fd5e74eaaf883b0233d3055a19cd56a9.tar.gz |
Update CI so that warnings cause build failures
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci.yml | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 68593717f..8da286152 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,8 +9,9 @@ jobs: steps: - uses: actions/checkout@v2 - name: make - # build with TLS just for compilatoin coverage - run: make BUILD_TLS=yes + # Fail build if there are warnings + # build with TLS just for compilation coverage + run: make REDIS_CFLAGS='-Werror' BUILD_TLS=yes - name: test run: | sudo apt-get install tcl8.5 @@ -30,7 +31,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: make - run: make + run: make REDIS_CFLAGS='-Werror' build-32bit: runs-on: ubuntu-latest @@ -39,14 +40,14 @@ jobs: - name: make run: | sudo apt-get update && sudo apt-get install libc6-dev-i386 - make 32bit + make REDIS_CFLAGS='-Werror' 32bit build-libc-malloc: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: make - run: make MALLOC=libc + run: make REDIS_CFLAGS='-Werror' MALLOC=libc build-centos7-jemalloc: runs-on: ubuntu-latest @@ -56,7 +57,7 @@ jobs: - name: make run: | yum -y install gcc make - make + make REDIS_CFLAGS='-Werror' build-centos6-jemalloc: runs-on: ubuntu-latest |