Skip to content
This repository was archived by the owner on Sep 28, 2022. It is now read-only.

Commit a33849d

Browse files
authored
Update version for Swoole-Ext 4.6.1 (#52)
* Update version for Swoole-Ext 4.6.1 * try fix
1 parent 024c7ae commit a33849d

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

.github/workflows/ext-swoole_postgresql.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,14 @@ jobs:
1616
steps:
1717
- uses: actions/checkout@v1
1818
- name: build
19-
run: phpize &&
20-
./configure &&
21-
make -j$(sysctl -n hw.ncpu) &&
22-
make install &&
23-
docker-php-ext-enable swoole_postgresql &&
19+
run: |
20+
apt-get update
21+
apt-get install -y libpq-dev
22+
phpize
23+
./configure
24+
make -j$(sysctl -n hw.ncpu)
25+
make install
26+
docker-php-ext-enable swoole_postgresql
2427
php --ri swoole_postgresql
2528
- name: composer
2629
run: composer update

swoole_postgresql_coro.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@
2020
#include "ext/swoole/ext-src/php_swoole_cxx.h"
2121
#include "config.h"
2222

23-
#define PHP_SWOOLE_EXT_POSTGRESQL_VERSION "4.5.7"
24-
#define PHP_SWOOLE_EXT_POSTGRESQL_VERSION_ID 40507
23+
#define PHP_SWOOLE_EXT_POSTGRESQL_VERSION "4.6.1"
24+
#define PHP_SWOOLE_EXT_POSTGRESQL_VERSION_ID 40601
2525

26-
#if SWOOLE_API_VERSION_ID < 0x202011a
26+
#if SWOOLE_API_VERSION_ID < 0x202012a
2727
#error "Ext version does not match the Swoole version"
2828
#endif
2929

0 commit comments

Comments
 (0)