Repository navigation
Updated examples for Zig 0.17.0 #26
This file contains hidden or 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@v7 | |
| - run: echo /home/linuxbrew/.linuxbrew/bin >> $GITHUB_PATH | |
| - run: brew install zig | |
| - uses: ankane/setup-postgres@v1 | |
| with: | |
| database: pgvector_zig_test | |
| dev-files: true | |
| - run: | | |
| cd /tmp | |
| git clone --branch v0.8.5 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 |