Skip to content

Commit d9de363

Browse files
committed
[ci skip] add example build commands to RM documentation
1 parent 4976483 commit d9de363

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

docs/release-process.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,26 @@ explained at the end of this document in
8484
5. Compile and run `make test`, with and without ZTS, using the right Bison and
8585
re2c version (for PHP 7.4, minimum Bison 3.0.0 and re2c 0.13.4 are used).
8686

87+
For example:
88+
89+
```sh
90+
# With ZTS
91+
make distclean || \
92+
./buildconf --force \
93+
&& ./configure --enable-zts --disable-all --enable-debug --enable-opcache --enable-opcache-jit \
94+
&& make -j$(nproc) \
95+
&& make test TEST_PHP_ARGS=-j$(nproc) \
96+
&& ./sapi/cli/php -v
97+
98+
# Without ZTS
99+
make distclean || \
100+
./buildconf --force \
101+
&& ./configure --disable-all --enable-debug --enable-opcache --enable-opcache-jit \
102+
&& make -j$(nproc) \
103+
&& make test TEST_PHP_ARGS=-j$(nproc) \
104+
&& ./sapi/cli/php -v
105+
```
106+
87107
6. Check `./sapi/cli/php -v` output for version matching.
88108

89109
7. If all is right, commit the changes to the release branch:
@@ -207,6 +227,26 @@ explained at the end of this document in
207227
5. Compile and run `make test`, with and without ZTS, using the right Bison and
208228
re2c version (for PHP 7.4, minimum Bison 3.0.0 and re2c 0.13.4 are used).
209229
230+
For example:
231+
232+
```sh
233+
# With ZTS
234+
make distclean || \
235+
./buildconf --force \
236+
&& ./configure --enable-zts --disable-all --enable-debug --enable-opcache --enable-opcache-jit \
237+
&& make -j$(nproc) \
238+
&& make test TEST_PHP_ARGS=-j$(nproc) \
239+
&& ./sapi/cli/php -v
240+
241+
# Without ZTS
242+
make distclean || \
243+
./buildconf --force \
244+
&& ./configure --disable-all --enable-debug --enable-opcache --enable-opcache-jit \
245+
&& make -j$(nproc) \
246+
&& make test TEST_PHP_ARGS=-j$(nproc) \
247+
&& ./sapi/cli/php -v
248+
```
249+
210250
6. Check `./sapi/cli/php -v` output for version matching.
211251
212252
7. Tag the repository with the version e.g. `git tag -u YOURKEYID php-7.4.1`

0 commit comments

Comments
 (0)