Skip to content

Updated pgvector on CI #11

Updated pgvector on CI

Updated pgvector on CI #11

Workflow file for this run

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_c_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: gcc -Wall -Wextra -Werror -I/usr/include/postgresql -o test/pq test/pq_test.c -lpq
- run: test/pq