Fixed CI #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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-2.0.0-linux_x64.tar.xz | |
tar xf nim-2.0.0-linux_x64.tar.xz | |
echo "/tmp/nim-2.0.0/bin" >> $GITHUB_PATH | |
- uses: ankane/setup-postgres@v1 | |
with: | |
database: pgvector_nim_test | |
dev-files: true | |
- run: | | |
cd /tmp | |
git clone --branch v0.5.1 https://github.com/pgvector/pgvector.git | |
cd pgvector | |
make | |
sudo make install | |
- run: nimble -y install db_connector | |
- run: nim c --run example.nim |