Skip to content

Commit 01c3a9f

Browse files
github action pg15/16/17 linux
1 parent 600070a commit 01c3a9f

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -71,23 +71,13 @@ jobs:
7171
- name: Checkout repository
7272
uses: actions/checkout@v4
7373

74-
- name: Add PostgreSQL APT Repository
75-
run: |
76-
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
77-
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
78-
7974
- name: Install PostgreSQL Development Libraries
8075
run: |
8176
sudo apt-get update
8277
sudo apt-get install -y postgresql-server-dev-${{ matrix.pg_version }}
8378
8479
- name: Compile pg_fasttransfer for PG ${{ matrix.pg_version }}
85-
run: |
86-
gcc -fPIC -shared -o pg_fasttransfer.so pg_fasttransfer.c `
87-
-I$(pg_config --includedir) `
88-
-I$(pg_config --includedir-server) `
89-
-L$(pg_config --libdir) `
90-
-lpostgres
80+
run: make USE_PGXS=1
9181

9282
- name: Create Release Archive for PG ${{ matrix.pg_version }}
9383
run: tar -czf pg_fasttransfer-linux-pg${{ matrix.pg_version }}.tar.gz pg_fasttransfer.so *.sql *.control

0 commit comments

Comments
 (0)