Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .github/workflows/job-pg-query-extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,37 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }}
php-version: ${{ matrix.php }}
dependencies: locked

pie-install-test:
name: Test PIE Installation
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v5

- name: Setup PHP Environment
uses: ./.github/actions/setup-php-env
with:
php-version: '8.2'
dependencies: locked
extensions: ':psr, bcmath, dom, hash, json, mbstring, xml, xmlwriter, xmlreader, zlib'
tools: 'composer:v2, phpize, php-config'

- name: Install build dependencies
run: |
sudo apt-get update
sudo apt-get install -y build-essential autoconf automake libtool protobuf-compiler libprotobuf-c-dev

- name: Install PIE
run: |
curl -L -o /usr/local/bin/pie https://github.com/php/pie/releases/latest/download/pie.phar
chmod +x /usr/local/bin/pie
pie --version

- name: Install extension via PIE
run: |
sudo pie install flow-php/pg-query-ext:1.x-dev

- name: Verify extension is loaded
run: |
php -m | grep pg_query