fix(bloom_filter): overflow bug (#139) #346
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: Build and Test | |
on: | |
push: | |
pull_request: | |
branches: [master] | |
jobs: | |
build_on_ubuntu_20_04: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
python-version: [3.9] | |
cc: [8, 9, 10] | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
lfs: true | |
- name: Dump environment | |
run: | | |
uname -a | |
gcc -v | |
export | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y gcc-${{ matrix.cc }} g++-${{ matrix.cc }} | |
- name: Build | |
run: | | |
CC=gcc-${{ matrix.cc }} CXX=g++-${{ matrix.cc }} ./blade build ... -k | |
- name: Run tests | |
run: | | |
CC=gcc-${{ matrix.cc }} CXX=g++-${{ matrix.cc }} ./blade test ... | |
build_on_ubuntu_22_04: | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
python-version: [3.9] | |
cc: [11, 12, 13] | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
lfs: true | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y gcc-${{ matrix.cc }} g++-${{ matrix.cc }} | |
- name: Build | |
run: | | |
CC=gcc-${{ matrix.cc }} CXX=g++-${{ matrix.cc }} ./blade build ... -k | |
- name: Run tests | |
run: | | |
CC=gcc-${{ matrix.cc }} CXX=g++-${{ matrix.cc }} ./blade test ... |