[PECL-CVS] [pecl-database-pdo_ibm] master: Merge pull request #31 from php/ci-update
[email protected] (Calvin Buckley via GitHub) Fri, 17 Jul 2026 13:08:19 +0000
| Newsgroups | php.pecl.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: Calvin Buckley (NattyNarwhal)
Committer: GitHub (web-flow)
Pusher: NattyNarwhal
Date: 2026-07-17T10:08:17-03:00
Commit: https://github.com/php/pecl-database-pdo_ibm/commit/d7393b432d17e88eec220d04e33dbecd62e416e2
Raw diff: https://github.com/php/pecl-database-pdo_ibm/commit/d7393b432d17e88eec220d04e33dbecd62e416e2.diff
Merge pull request #31 from php/ci-update
Update CI
Changed paths:
M .github/workflows/ci.yml
Diff:
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 0d7c629..8f0d7bf 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -27,10 +27,10 @@ jobs:
- database:/database
steps:
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v7
- name: Cache DB2 library
id: cache-clidriver
- uses: actions/cache@v4
+ uses: actions/cache@v6
with:
path: clidriver
key: ${{ runner.os }}-clidriver
@@ -85,16 +85,16 @@ jobs:
shell: cmd
strategy:
matrix:
- version: ["8.1", "8.2", "8.3", "8.4"]
+ version: ["8.2", "8.3", "8.4", "8.5"]
arch: [x64]
ts: [ts]
runs-on: windows-latest
steps:
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v7
- name: Cache DB2 library
id: cache-clidriver
- uses: actions/cache@v4
+ uses: actions/cache@v6
with:
path: clidriver
key: ${{ runner.os }}-clidriver
@@ -104,24 +104,13 @@ jobs:
run: |
Invoke-WebRequest -Uri 'https://public.dhe.ibm.com/ibmdl/export/pub/software/data/db2/drivers/odbc_cli/ntx64_odbc_cli.zip' -OutFile 'ntx64_odbc_cli.zip'
Expand-Archive 'ntx64_odbc_cli.zip' -DestinationPath '.\'
- - name: Setup PHP
- id: setup-php
- uses: php/[email protected]
- with:
- version: ${{matrix.version}}
- arch: ${{matrix.arch}}
- ts: ${{matrix.ts}}
- - name: Enable Developer Command Prompt
- uses: ilammy/msvc-dev-cmd@v1
+ # The builder handles building, testing and artifact packaging/upload automatically
+ - name: Build and test the extension
+ uses: php/php-windows-builder/extension@v1
with:
- arch: ${{matrix.arch}}
- toolset: ${{steps.setup-php.outputs.toolset}}
- - name: phpize
- run: phpize
- - name: configure
- run: configure --with-pdo-ibm=%cd%\clidriver --with-prefix=${{steps.setup-php.outputs.prefix}}
- - name: make
- run: nmake
- # XXX: Can we run Docker containers in a Windows runner? That'll be required for tests
- #- name: test
- # run: nmake test TESTS=tests
+ php-version: ${{ matrix.version }}
+ arch: ${{ matrix.arch }}
+ ts: ${{ matrix.ts }}
+ args: --with-pdo-ibm=%cd%\clidriver --with-prefix=${{steps.setup-php.outputs.prefix}}
+ run-tests: false # need to have db2 running!
+ test-runner-args: "--show-diff tests"