|
21 | 21 | CARGO_TARGET_DIR: /tmp/build-cargo |
22 | 22 | RUST_TOOLCHAIN: nightly-2025-06-13 |
23 | 23 | container: |
24 | | - image: datadog/dd-trace-ci:php-${{matrix.php-version}}_bookworm-8 |
| 24 | + image: datadog/dd-trace-ci:php-${{matrix.php-version}}_bookworm-9 |
25 | 25 | # https://docs.github.com/en/actions/creating-actions/dockerfile-support-for-github-actions#user |
26 | 26 | options: --user root |
27 | 27 |
|
|
86 | 86 | CARGO_TARGET_DIR: /tmp/build-cargo |
87 | 87 | UBSAN_OPTIONS: print_stacktrace=1:halt_on_error=1 |
88 | 88 | container: |
89 | | - image: datadog/dd-trace-ci:php-8.5_bookworm-8 |
| 89 | + image: datadog/dd-trace-ci:php-8.5_bookworm-9 |
90 | 90 | options: --user root |
91 | 91 |
|
92 | 92 | steps: |
@@ -127,25 +127,6 @@ jobs: |
127 | 127 | cargo build --profile profiler-release |
128 | 128 | cp -v "$CARGO_TARGET_DIR/profiler-release/libdatadog_php_profiling.so" "$(php-config --extension-dir)/datadog-profiling.so" |
129 | 129 |
|
130 | | - # TODO(parallel): the php-8.5_bookworm-8 image ships parallel 1.2.13, which |
131 | | - # has a bug that intermittently trips UBSAN. Install the fixed 1.2.14 over |
132 | | - # it (ZTS-only; parallel requires ZTS). Remove this step once the CI images |
133 | | - # are rebuilt with parallel >= 1.2.14. |
134 | | - - name: Install fixed parallel 1.2.14 (ZTS only, temporary until images rebuilt) |
135 | | - if: matrix.php-build == 'zts' |
136 | | - run: | |
137 | | - set -eux |
138 | | - switch-php zts |
139 | | - scan_dir="$(php -r 'echo PHP_CONFIG_FILE_SCAN_DIR;')" |
140 | | - # pecl refuses to reinstall while the extension is loaded, so move its |
141 | | - # ini aside during the build, then restore it so the test run loads the |
142 | | - # freshly installed parallel.so. Use the direct package URL because the |
143 | | - # channel REST cache in the image can lag behind new releases. |
144 | | - mv "$scan_dir/parallel.ini" /tmp/parallel.ini.disabled |
145 | | - yes '' | pecl install -f https://pecl.php.net/get/parallel-1.2.14.tgz |
146 | | - mv /tmp/parallel.ini.disabled "$scan_dir/parallel.ini" |
147 | | - php --ri parallel | grep -i version |
148 | | -
|
149 | 130 | - name: Run phpt tests |
150 | 131 | run: | |
151 | 132 | set -eux |
|
0 commit comments