Skip to content

Updated examples for Zig 0.15.1 #20

Updated examples for Zig 0.15.1

Updated examples for Zig 0.15.1 #20

Workflow file for this run

name: build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: sudo snap install zig --classic --beta
- uses: ankane/setup-postgres@v1
with:
database: pgvector_zig_test
dev-files: true
- run: |
cd /tmp
git clone --branch v0.8.1 https://github.com/pgvector/pgvector.git
cd pgvector
make
sudo make install
- run: zig build
- run: zig-out/bin/pg
- run: zig-out/bin/libpq