Skip to content

Updated Nim on CI

Updated Nim on CI #21

Workflow file for this run

name: build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
cd /tmp
wget -q https://nim-lang.org/download/nim-$NIM_VERSION-linux_x64.tar.xz
tar xf nim-$NIM_VERSION-linux_x64.tar.xz
echo "/tmp/nim-$NIM_VERSION/bin" >> $GITHUB_PATH
env:
NIM_VERSION: 2.2.6
- uses: ankane/setup-postgres@v1
with:
database: pgvector_nim_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: nimble -y install db_connector
- run: nimble test