Skip to content

Commit

Permalink
Add PHP 8.2 & 8.3 to Github Action matrix tests (#99)
Browse files Browse the repository at this point in the history
* feat: add php8.2 php8.3 matrix tests

* fix: allow werror

* fix: disable expect native

* fix: remove the "No support for malloc hooks" warning

---------

Co-authored-by: Arnaud Le Blanc <arnaud.lb@gmail.com>
  • Loading branch information
gaelreyrol and arnaud-lb authored Nov 29, 2023
1 parent 89a5736 commit 877dfc4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,16 @@ jobs:
strategy:
matrix:
include:
- php: '8.3.0'
os: 'ubuntu-22.04'
werror: 1
xdebug: '3.3.0alpha3'

- php: '8.2.0'
os: 'ubuntu-22.04'
werror: 1
xdebug: '3.2.2'

- php: '8.1.0'
os: 'ubuntu-20.04'
expect_native: 1
Expand Down
2 changes: 0 additions & 2 deletions memprof.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,6 @@

#else /* HAVE_MALLOC_HOOKS */

# warning No support for malloc hooks, this build will not track persistent allocations

# define MALLOC_HOOK_CHECK_NOT_OWN()
# define MALLOC_HOOK_IS_SET() (__malloc_hook == malloc_hook)
# define MALLOC_HOOK_RESTORE_OLD()
Expand Down

0 comments on commit 877dfc4

Please sign in to comment.