Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
4d1120f5
Commit
4d1120f5
authored
Oct 19, 2020
by
Madelyn Olson
Committed by
Madelyn Olson
Oct 26, 2020
Browse files
Update CI so that warnings cause build failures
parent
9824fe3e
Changes
1
Hide whitespace changes
Inline
Side-by-side
.github/workflows/ci.yml
View file @
4d1120f5
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment