mirror of
https://github.com/pgvector/pgvector.git
synced 2026-06-06 05:51:21 +08:00
23 lines
658 B
YAML
23 lines
658 B
YAML
name: build
|
|
on: [push, pull_request]
|
|
jobs:
|
|
build:
|
|
if: "!contains(github.event.head_commit.message, '[skip ci]')"
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
postgres: [13, 12, 11, 10, 9.6]
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: ankane/setup-postgres@v1
|
|
with:
|
|
postgres-version: ${{ matrix.postgres }}
|
|
- run: sudo apt-get install postgresql-server-dev-${{ matrix.postgres }} libipc-run-perl
|
|
- run: make
|
|
- run: |
|
|
export PG_CONFIG=`which pg_config`
|
|
sudo --preserve-env=PG_CONFIG make install
|
|
- run: make installcheck
|
|
- run: make prove_installcheck
|