Fix typo. Should be sse4
instead of ss34
#157
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: Run Tests | |
on: [pull_request] | |
env: | |
POETRY_VERSION: "1.6.1" | |
jobs: | |
test-python-library: | |
strategy: | |
# Ensure that failure for one test does not cancel other actions | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest] | |
python-version: ['3.9', '3.10', '3.11'] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Set up Poetry | |
uses: snok/install-poetry@v1 | |
with: | |
version: ${{ env.POETRY_VERSION }} | |
- name: Install dependencies | |
run: | | |
cd flatnav_python | |
poetry install | |
- name: Build flatnav | |
run: | | |
cd flatnav_python | |
export NO_SIMD_VECTORIZATION=1 | |
./install_flatnav.sh | |
- name: Run Unit Tests | |
run: | | |
cd flatnav_python | |
poetry run pytest -vs unit_tests | |
run-cpp-unit-tests: | |
strategy: | |
# Ensure that failure for one test does not cancel other actions | |
fail-fast: false | |
matrix: | |
# TODO: Would love to add macos here. | |
os: [ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- name: Install dependencies | |
run: | | |
# Install CMake and clang | |
./bin/install_clang.sh | |
./bin/install_cmake.sh | |
- name: Build flatnav | |
run: | | |
# Build flatnav as well as all tests and examples | |
./bin/build.sh -e -t | |
- name: Run Unit Tests | |
run: | | |
./build/test_distances | |
./build/test_serialization |