Added support for sparsevec type #54
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 | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ankane/setup-postgres@v1 | |
with: | |
database: pgvector_cpp_test | |
dev-files: true | |
- run: | | |
cd /tmp | |
git clone --branch v0.7.0 https://github.com/pgvector/pgvector.git | |
cd pgvector | |
make | |
sudo make install | |
- run: | | |
git clone --branch 7.9.0 https://github.com/jtv/libpqxx.git | |
cd libpqxx | |
CXXFLAGS=-std=c++17 ./configure | |
make | |
sudo make install | |
- run: g++ -std=c++17 -Wall -Wextra -Werror -o test/pqxx test/pqxx_test.cpp -lpqxx -lpq | |
- run: test/pqxx |