Skip to content

fix: missing cibuildwheel installation #152

fix: missing cibuildwheel installation

fix: missing cibuildwheel installation #152

Workflow file for this run

name: CI
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
jobs:
test-ssse3:
name: Test SSSE3
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Switch to Current Branch
run: git checkout ${{ env.BRANCH }}
- name: Setup Python 3.10.4
uses: actions/setup-python@v3
with:
python-version: "3.10.4"
- name: Setup Poetry
uses: abatilo/actions-poetry@v3
with:
poetry-version: 1.8.2
- name: Install Dependencies
run: |
poetry install --only test
- name: Setup CMake
uses: jwlawson/[email protected]
with:
cmake-version: "3.16.x"
- name: Build Tests
run: |
cmake . -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF -DBUILD_PYBIND11=ON -DPRINT_BENCHMARK=ON -DBUILD_TESTS=ON -DBUILD_BENCHMARKS=OFF
make libstreamvbyte libstreamvbyte_tests
- name: Test
run: |
./libstreamvbyte_tests
poetry run python -m pytest ./tests/test.py
test-neon:
name: Test NEON
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Switch to Current Branch
run: git checkout ${{ env.BRANCH }}
- uses: pguyot/[email protected]
with:
image_additional_mb: 4096
base_image: https://dietpi.com/downloads/images/DietPi_RPi-ARMv8-Bullseye.img.xz
cpu: cortex-a53
commands: |
apt-get update -qq -y
apt-get install -qq -y build-essential cmake
cmake . -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF -DBUILD_PYBIND11=OFF -DPRINT_BENCHMARK=ON -DBUILD_TESTS=ON -DBUILD_BENCHMARKS=OFF
make libstreamvbyte_tests
./libstreamvbyte_tests