Skip to content

Commit 87b13fb

Browse files
run zts tests
1 parent a29b7a9 commit 87b13fb

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.circleci/continue_config.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2758,6 +2758,21 @@ jobs:
27582758
cp -v "${run_tests_php}" .
27592759
export TEST_PHP_EXECUTABLE=$(which php)
27602760
php run-tests.php -d "extension=/mnt/ramdisk/cargo/release/libdatadog_php_profiling.so" --show-diff -g "FAIL,XFAIL,BORK,WARN,LEAK,XLEAK,SKIP" "phpt"
2761+
- run:
2762+
name: phpt tests ZTS
2763+
command: |
2764+
set -u
2765+
command -v switch-php && switch-php "${PHP_VERSION}-zts"
2766+
set -e
2767+
libdir="/tmp/datadog-profiling"
2768+
cd profiling
2769+
cargo build --release --all-features
2770+
cd tests
2771+
# don't anticipate there being more than one
2772+
run_tests_php=$(find $(php-config --prefix) -name run-tests.php)
2773+
cp -v "${run_tests_php}" .
2774+
export TEST_PHP_EXECUTABLE=$(which php)
2775+
php run-tests.php -d "extension=/mnt/ramdisk/cargo/release/libdatadog_php_profiling.so" --show-diff -g "FAIL,XFAIL,BORK,WARN,LEAK,XLEAK,SKIP" "phpt"
27612776
27622777
compile_extension_centos:
27632778
working_directory: ~/datadog

0 commit comments

Comments
 (0)