Feature/optimize sentinel elect #1549
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push, pull_request] | |
jobs: | |
test-ubuntu-latest: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: make | |
# 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.6 | |
./runtest --verbose | |
- name: module api test | |
run: ./runtest-moduleapi --verbose | |
build-libc-malloc: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: make | |
run: make REDIS_CFLAGS='-Werror' MALLOC=libc | |
build-centos7-jemalloc: | |
runs-on: ubuntu-20.04 | |
container: centos:7 | |
steps: | |
- name: install git | |
run: | | |
yum -y install gcc make | |
yum -y remove git git-* | |
yum -y install https://packages.endpointdev.com/rhel/7/os/x86_64/endpoint-repo.x86_64.rpm | |
yum -y install git | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: make | |
run: | | |
make REDIS_CFLAGS='-Werror' |