mirror of
https://github.com/danog/ext-uv.git
synced 2024-11-26 20:14:47 +01:00
Prep for 0.3.x release
This commit is contained in:
parent
3c89bc46a5
commit
6c87a21af1
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -12,11 +12,9 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
php:
|
php:
|
||||||
|
- 8.2
|
||||||
|
- 8.1
|
||||||
- 8.0
|
- 8.0
|
||||||
- 7.4
|
|
||||||
- 7.3
|
|
||||||
- 7.2
|
|
||||||
- 7.1
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: shivammathur/setup-php@v2
|
- uses: shivammathur/setup-php@v2
|
||||||
|
32
.github/workflows/release-validate.yml
vendored
Normal file
32
.github/workflows/release-validate.yml
vendored
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
name: Validate pecl package
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
pull_request:
|
||||||
|
types: [opened, synchronize, reopened]
|
||||||
|
release:
|
||||||
|
types: [created]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test_package_valid:
|
||||||
|
name: Release validate on PHP ${{ matrix.php }}
|
||||||
|
runs-on: ubuntu-20.04
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
os: [ ubuntu-latest ]
|
||||||
|
php: [ 8.0, 8.1, 8.2 ]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Setup PHP
|
||||||
|
uses: shivammathur/setup-php@v2
|
||||||
|
with:
|
||||||
|
php-version: ${{ matrix.php }}
|
||||||
|
|
||||||
|
- name: Sanity check package.xml and install ext-uv
|
||||||
|
run: |
|
||||||
|
bash validate-package.sh
|
||||||
|
for file in tests/*.phpt; do grep $(basename $file) package.xml >/dev/null || (echo "Missing $file from package.xml" ; exit 1); done
|
33
package.xml
33
package.xml
@ -1,5 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<package packagerversion="1.9.4" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0 http://pear.php.net/dtd/package-2.0.xsd">
|
<package packagerversion="1.9.4" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0"
|
||||||
|
xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0 http://pear.php.net/dtd/package-2.0.xsd">
|
||||||
<name>uv</name>
|
<name>uv</name>
|
||||||
<channel>pecl.php.net</channel>
|
<channel>pecl.php.net</channel>
|
||||||
<summary>libuv wrapper</summary>
|
<summary>libuv wrapper</summary>
|
||||||
@ -10,20 +12,23 @@
|
|||||||
<email>bobwei9@hotmail.com</email>
|
<email>bobwei9@hotmail.com</email>
|
||||||
<active>yes</active>
|
<active>yes</active>
|
||||||
</lead>
|
</lead>
|
||||||
<date>2019-05-01</date>
|
<lead>
|
||||||
<time>13:00:00</time>
|
<name>Aaron Piotrowski</name>
|
||||||
|
<user>trowski</user>
|
||||||
|
<email>aaron@trowski.com</email>
|
||||||
|
<active>yes</active>
|
||||||
|
</lead>
|
||||||
|
<date>2023-06-17</date>
|
||||||
<version>
|
<version>
|
||||||
<release>0.2.4</release>
|
<release>0.3.0</release>
|
||||||
<api>0.2.4</api>
|
<api>0.3.0</api>
|
||||||
</version>
|
</version>
|
||||||
<stability>
|
<stability>
|
||||||
<release>beta</release>
|
<release>beta</release>
|
||||||
<api>beta</api>
|
<api>beta</api>
|
||||||
</stability>
|
</stability>
|
||||||
<license uri="http://www.php.net/license">PHP License</license>
|
<license uri="http://www.php.net/license">PHP License</license>
|
||||||
<notes>
|
<notes>0.3.0 release</notes>
|
||||||
- Fix Windows build
|
|
||||||
</notes>
|
|
||||||
<contents>
|
<contents>
|
||||||
<dir name="/">
|
<dir name="/">
|
||||||
<dir name="examples">
|
<dir name="examples">
|
||||||
@ -35,11 +40,9 @@
|
|||||||
<file name="fs.php" role="doc"/>
|
<file name="fs.php" role="doc"/>
|
||||||
<file name="fs_poll.php" role="doc"/>
|
<file name="fs_poll.php" role="doc"/>
|
||||||
<file name="fs_truncate.php" role="doc"/>
|
<file name="fs_truncate.php" role="doc"/>
|
||||||
<file name="fsevevnt.php" role="doc" />
|
|
||||||
<file name="fstat.php" role="doc"/>
|
<file name="fstat.php" role="doc"/>
|
||||||
<file name="fsw.php" role="doc"/>
|
<file name="fsw.php" role="doc"/>
|
||||||
<file name="getaddrinfo.php" role="doc"/>
|
<file name="getaddrinfo.php" role="doc"/>
|
||||||
<file name="gethostbyname.php" role="doc" />
|
|
||||||
<file name="idle.php" role="doc"/>
|
<file name="idle.php" role="doc"/>
|
||||||
<file name="lstat.php" role="doc"/>
|
<file name="lstat.php" role="doc"/>
|
||||||
<file name="mkdir.php" role="doc"/>
|
<file name="mkdir.php" role="doc"/>
|
||||||
@ -51,7 +54,6 @@
|
|||||||
<file name="readdir.php" role="doc"/>
|
<file name="readdir.php" role="doc"/>
|
||||||
<file name="readlink.php" role="doc"/>
|
<file name="readlink.php" role="doc"/>
|
||||||
<file name="rename.php" role="doc"/>
|
<file name="rename.php" role="doc"/>
|
||||||
<file name="request.php" role="doc" />
|
|
||||||
<file name="rmdir.php" role="doc"/>
|
<file name="rmdir.php" role="doc"/>
|
||||||
<file name="run_once.php" role="doc"/>
|
<file name="run_once.php" role="doc"/>
|
||||||
<file name="sendfile.php" role="doc"/>
|
<file name="sendfile.php" role="doc"/>
|
||||||
@ -88,9 +90,11 @@
|
|||||||
<file name="200-ares_getaddrinfo.phpt" role="test"/>
|
<file name="200-ares_getaddrinfo.phpt" role="test"/>
|
||||||
<file name="300-fs.phpt" role="test"/>
|
<file name="300-fs.phpt" role="test"/>
|
||||||
<file name="310-fs-mkdir.phpt" role="test"/>
|
<file name="310-fs-mkdir.phpt" role="test"/>
|
||||||
|
<file name="310-fs-scandir.phpt" role="test"/>
|
||||||
<file name="311-fs-rmdir.phpt" role="test"/>
|
<file name="311-fs-rmdir.phpt" role="test"/>
|
||||||
<file name="320-fs-event.phpt" role="test"/>
|
<file name="320-fs-event.phpt" role="test"/>
|
||||||
<file name="320-fs-poll.phpt" role="test"/>
|
<file name="320-fs-poll.phpt" role="test"/>
|
||||||
|
<file name="320-fs-readlink.phpt" role="test"/>
|
||||||
<file name="320-fs-sendfile.phpt" role="test"/>
|
<file name="320-fs-sendfile.phpt" role="test"/>
|
||||||
<file name="330-poll-pipe.phpt" role="test"/>
|
<file name="330-poll-pipe.phpt" role="test"/>
|
||||||
<file name="330-poll.phpt" role="test"/>
|
<file name="330-poll.phpt" role="test"/>
|
||||||
@ -103,8 +107,9 @@
|
|||||||
<file name="700-uv_rwlock.phpt" role="test"/>
|
<file name="700-uv_rwlock.phpt" role="test"/>
|
||||||
<file name="700-uv_wrlock.phpt" role="test"/>
|
<file name="700-uv_wrlock.phpt" role="test"/>
|
||||||
<file name="701-uv_mutex.phpt" role="test"/>
|
<file name="701-uv_mutex.phpt" role="test"/>
|
||||||
|
<file name="800-broken-uv_spawn-issue-79.phpt" role="test"/>
|
||||||
<file name="800-uv_queue_work.phpt" role="test"/>
|
<file name="800-uv_queue_work.phpt" role="test"/>
|
||||||
<file name="800-uv_spawn-issue59.phpt" role="test" />
|
<file name="800-uv_stdio_new-issue59.phpt" role="test"/>
|
||||||
<file name="800-uv_tty.phpt" role="test"/>
|
<file name="800-uv_tty.phpt" role="test"/>
|
||||||
<file name="999-uv_chdir.phpt" role="test"/>
|
<file name="999-uv_chdir.phpt" role="test"/>
|
||||||
<file name="999-uv_cpu_info.phpt" role="test"/>
|
<file name="999-uv_cpu_info.phpt" role="test"/>
|
||||||
@ -134,10 +139,10 @@
|
|||||||
<dependencies>
|
<dependencies>
|
||||||
<required>
|
<required>
|
||||||
<php>
|
<php>
|
||||||
<min>7.0.0</min>
|
<min>8.0.0</min>
|
||||||
</php>
|
</php>
|
||||||
<pearinstaller>
|
<pearinstaller>
|
||||||
<min>1.4.0b1</min>
|
<min>1.4.0</min>
|
||||||
</pearinstaller>
|
</pearinstaller>
|
||||||
</required>
|
</required>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
12
validate-package.sh
Normal file
12
validate-package.sh
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
VALIDATE_OUTPUT=`pear package-validate`
|
||||||
|
|
||||||
|
echo "VALIDATE_OUTPUT is $VALIDATE_OUTPUT"
|
||||||
|
|
||||||
|
if [[ "$VALIDATE_OUTPUT" == *"Error"* ]]; then
|
||||||
|
echo "Package appears to contain an error"
|
||||||
|
exit 255
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Package appears valid"
|
Loading…
Reference in New Issue
Block a user