From 3b25f395c8c903c0f81a8d1560bb3c39ededc9b4 Mon Sep 17 00:00:00 2001 From: Naeem Akhter Date: Thu, 14 Oct 2021 00:43:55 +0500 Subject: [PATCH] PG-259: Fixed PGSM build in Test-with-pg13-pgdg-packages GitHub action job. --- .github/workflows/pg11test-pgdg-packages.yml | 2 ++ .github/workflows/pg12test-pgdg-packages.yml | 2 ++ .github/workflows/pg13test-pgdg-packages.yml | 2 ++ .github/workflows/pg14test-pgdg-packages.yml | 2 ++ 4 files changed, 8 insertions(+) diff --git a/.github/workflows/pg11test-pgdg-packages.yml b/.github/workflows/pg11test-pgdg-packages.yml index 9126f7c7018f..ad8ef4de1d70 100644 --- a/.github/workflows/pg11test-pgdg-packages.yml +++ b/.github/workflows/pg11test-pgdg-packages.yml @@ -38,6 +38,8 @@ jobs: - name: Build pg_stat_monitor run: | + export PATH="/usr/lib/postgresql/11/bin:$PATH" + sudo cp /usr/lib/postgresql/11/bin/pg_config /usr/bin sudo make USE_PGXS=1 sudo make USE_PGXS=1 install working-directory: src/pg_stat_monitor/ diff --git a/.github/workflows/pg12test-pgdg-packages.yml b/.github/workflows/pg12test-pgdg-packages.yml index 2653ec6b98c0..274e082feada 100644 --- a/.github/workflows/pg12test-pgdg-packages.yml +++ b/.github/workflows/pg12test-pgdg-packages.yml @@ -38,6 +38,8 @@ jobs: - name: Build pg_stat_monitor run: | + export PATH="/usr/lib/postgresql/12/bin:$PATH" + sudo cp /usr/lib/postgresql/12/bin/pg_config /usr/bin sudo make USE_PGXS=1 sudo make USE_PGXS=1 install working-directory: src/pg_stat_monitor/ diff --git a/.github/workflows/pg13test-pgdg-packages.yml b/.github/workflows/pg13test-pgdg-packages.yml index 49e0261d5c3b..1a718d2be528 100644 --- a/.github/workflows/pg13test-pgdg-packages.yml +++ b/.github/workflows/pg13test-pgdg-packages.yml @@ -34,6 +34,8 @@ jobs: - name: Build pg_stat_monitor run: | + export PATH="/usr/lib/postgresql/13/bin:$PATH" + sudo cp /usr/lib/postgresql/13/bin/pg_config /usr/bin sudo make USE_PGXS=1 sudo make USE_PGXS=1 install working-directory: src/pg_stat_monitor/ diff --git a/.github/workflows/pg14test-pgdg-packages.yml b/.github/workflows/pg14test-pgdg-packages.yml index 352aac6a687a..ad6bc91e21cb 100644 --- a/.github/workflows/pg14test-pgdg-packages.yml +++ b/.github/workflows/pg14test-pgdg-packages.yml @@ -38,6 +38,8 @@ jobs: - name: Build pg_stat_monitor run: | + export PATH="/usr/lib/postgresql/14/bin:$PATH" + sudo cp /usr/lib/postgresql/14/bin/pg_config /usr/bin sudo make USE_PGXS=1 sudo make USE_PGXS=1 install working-directory: src/pg_stat_monitor/