Skip to content

Updated CI

Updated CI #33

Workflow file for this run

name: build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: leafo/gh-actions-lua@v13
- uses: leafo/gh-actions-luarocks@v6
- run: |
luarocks install pgmoon
luarocks install luasocket
- uses: ankane/setup-postgres@v1
with:
database: pgvector_lua_test
dev-files: true
- run: |
cd /tmp
git clone --branch v0.8.2 https://github.com/pgvector/pgvector.git
cd pgvector
make
sudo make install
- run: lua test/pgvector.lua
- run: lua test/example.lua