WIP: 64kb lz4 block stuff #14
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: check | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- run: | | |
sudo apt update | |
sudo apt install -y python3 python3-pip python3-setuptools libcurl4-openssl-dev libssl-dev libsasl2-dev | |
python3 -m pip install -r tests/requirements.txt | |
- run: | | |
./configure --CFLAGS="-std=c99" --CXXFLAGS="-std=c++98" --install-deps --enable-devel --disable-lz4-ext --prefix="$PWD/dest" | |
- run: | | |
make -j | |
make -C tests -j build | |
- run: | | |
examples/rdkafka_example -V || true | |
examples/rdkafka_example -X builtin.features | |
- run: | | |
make -C tests run_local_quick | |
- name: Prohibit CONFIGURATION.md changes | |
run: | | |
git diff --exit-code CONFIGURATION.md || echo -e "\n\nERROR: CONFIGURATION.md has been edited manually or not been auto-generated upon rdkafka_conf.c change. This file is auto-generated and must be committed when changed." | |
style: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- run: | | |
sudo apt update | |
sudo apt install -y python3 python3-pip python3-setuptools clang-format | |
python3 -m pip install -r packaging/tools/requirements.txt | |
- name: Style checker | |
run: make style-check |