Skip to content

Test with libpqxx 7.8 #37

Test with libpqxx 7.8

Test with libpqxx 7.8 #37

Workflow file for this run

name: build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ankane/setup-postgres@v1
with:
database: pgvector_cpp_test
dev-files: true
- run: |
cd /tmp
git clone --branch v0.5.0 https://github.com/pgvector/pgvector.git
cd pgvector
make
sudo make install
- run: |
git clone --branch 7.8.1 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