Skip to content

Commit 4b3d700

Browse files
run zts tests
1 parent 6d09a47 commit 4b3d700

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
@@ -2776,6 +2776,21 @@ jobs:
27762776
cp -v "${run_tests_php}" .
27772777
export TEST_PHP_EXECUTABLE=$(which php)
27782778
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"
2779+
- run:
2780+
name: phpt tests ZTS
2781+
command: |
2782+
set -u
2783+
command -v switch-php && switch-php "${PHP_VERSION}-zts"
2784+
set -e
2785+
libdir="/tmp/datadog-profiling"
2786+
cd profiling
2787+
cargo build --release --all-features
2788+
cd tests
2789+
# don't anticipate there being more than one
2790+
run_tests_php=$(find $(php-config --prefix) -name run-tests.php)
2791+
cp -v "${run_tests_php}" .
2792+
export TEST_PHP_EXECUTABLE=$(which php)
2793+
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"
27792794
27802795
compile_extension_centos:
27812796
working_directory: ~/datadog

0 commit comments

Comments
 (0)