forked from confluentinc/librdkafka
-
Notifications
You must be signed in to change notification settings - Fork 14
32 lines (31 loc) · 1.03 KB
/
base.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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
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