[PECL-CVS] [pecl-web_services-oauth] fix-callback-exception-segfault: Add CI

[email protected] (Rasmus Lerdorf) Sat, 4 Apr 2026 21:32:07 +0000
Newsgroups php.pecl.cvs
Message-ID <[email protected]>
Author: Rasmus Lerdorf (rlerdorf)
Date: 2026-04-04T17:32:01-04:00

Commit: https://github.com/php/pecl-web_services-oauth/commit/b3ba157d37ec79b47c41effc2529ab8cb6bed932
Raw diff: https://github.com/php/pecl-web_services-oauth/commit/b3ba157d37ec79b47c41effc2529ab8cb6bed932.diff

Add CI

Changed paths:
  A  .github/workflows/ci.yml


Diff:

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..93924e9
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,41 @@
+name: CI
+on:
+  pull_request:
+    branches:
+      - master
+  push:
+    branches:
+      - master
+  workflow_dispatch:
+
+jobs:
+  build:
+    name: PHP ${{ matrix.version }} on ${{ matrix.os }}
+    runs-on: ${{ matrix.os }}
+    strategy:
+      fail-fast: false
+      matrix:
+        os: [ubuntu-latest]
+        version: ['8.1', '8.2', '8.3', '8.4', '8.5']
+    steps:
+      - name: Setup PHP
+        uses: shivammathur/setup-php@v2
+        with:
+          php-version: ${{ matrix.version }}
+
+      - uses: actions/checkout@v4
+
+      - name: Install dependencies
+        run: sudo apt-get install -y libcurl4-openssl-dev libpcre3-dev
+
+      - name: Run phpize
+        run: phpize
+
+      - name: Configure
+        run: ./configure
+
+      - name: Build
+        run: make
+
+      - name: Run tests
+        run: make test