Skip to content

Commit eb9386e

Browse files
committed
Simplified examples
1 parent 283c56b commit eb9386e

File tree

3 files changed

+5
-27
lines changed

3 files changed

+5
-27
lines changed

Diff for: .github/workflows/step-mac.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@ on:
55
- .github/workflows/step-mac.yml
66
jobs:
77
mac:
8-
runs-on: ${{ matrix.os }}
9-
strategy:
10-
fail-fast: false
11-
matrix:
12-
os: [macos-15, macos-14, macos-13]
8+
runs-on: macos-14
139
steps:
1410
- run: brew install postgresql@17
1511
- run: brew link --overwrite postgresql@17

Diff for: .github/workflows/step-ubuntu.yml

+2-12
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,11 @@ on:
55
- .github/workflows/step-ubuntu.yml
66
jobs:
77
ubuntu:
8-
runs-on: ${{ matrix.os }}
9-
strategy:
10-
fail-fast: false
11-
matrix:
12-
include:
13-
- os: ubuntu-24.04
14-
postgres: 16
15-
- os: ubuntu-22.04
16-
postgres: 14
17-
- os: ubuntu-20.04
18-
postgres: 14
8+
runs-on: ubuntu-24.04
199
steps:
2010
- name: Install pgvector
2111
run: |
2212
sudo /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh -y
23-
sudo apt-get install postgresql-${{ matrix.postgres }}-pgvector
13+
sudo apt-get install postgresql-16-pgvector
2414
- run: sudo systemctl start postgresql
2515
- run: sudo -u postgres psql -c 'CREATE EXTENSION vector'

Diff for: .github/workflows/step-windows.yml

+2-10
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,11 @@ on:
55
- .github/workflows/step-windows.yml
66
jobs:
77
windows:
8-
runs-on: ${{ matrix.os }}
9-
strategy:
10-
fail-fast: false
11-
matrix:
12-
include:
13-
- os: windows-2022
14-
vs: C:\Program Files\Microsoft Visual Studio\2022\Enterprise
15-
- os: windows-2019
16-
vs: C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise
8+
runs-on: windows-2022
179
steps:
1810
- name: Install pgvector
1911
run: |
20-
call "${{ matrix.vs }}\VC\Auxiliary\Build\vcvars64.bat"
12+
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
2113
cd %TEMP%
2214
git clone --branch v0.7.4 https://github.com/pgvector/pgvector.git
2315
cd pgvector

0 commit comments

Comments
 (0)