mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
[ci skip] add example build commands to RM documentation
This commit is contained in:
parent
4976483960
commit
d9de36398c
1 changed files with 40 additions and 0 deletions
|
@ -84,6 +84,26 @@ explained at the end of this document in
|
||||||
5. Compile and run `make test`, with and without ZTS, using the right Bison and
|
5. Compile and run `make test`, with and without ZTS, using the right Bison and
|
||||||
re2c version (for PHP 7.4, minimum Bison 3.0.0 and re2c 0.13.4 are used).
|
re2c version (for PHP 7.4, minimum Bison 3.0.0 and re2c 0.13.4 are used).
|
||||||
|
|
||||||
|
For example:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
# With ZTS
|
||||||
|
make distclean || \
|
||||||
|
./buildconf --force \
|
||||||
|
&& ./configure --enable-zts --disable-all --enable-debug --enable-opcache --enable-opcache-jit \
|
||||||
|
&& make -j$(nproc) \
|
||||||
|
&& make test TEST_PHP_ARGS=-j$(nproc) \
|
||||||
|
&& ./sapi/cli/php -v
|
||||||
|
|
||||||
|
# Without ZTS
|
||||||
|
make distclean || \
|
||||||
|
./buildconf --force \
|
||||||
|
&& ./configure --disable-all --enable-debug --enable-opcache --enable-opcache-jit \
|
||||||
|
&& make -j$(nproc) \
|
||||||
|
&& make test TEST_PHP_ARGS=-j$(nproc) \
|
||||||
|
&& ./sapi/cli/php -v
|
||||||
|
```
|
||||||
|
|
||||||
6. Check `./sapi/cli/php -v` output for version matching.
|
6. Check `./sapi/cli/php -v` output for version matching.
|
||||||
|
|
||||||
7. If all is right, commit the changes to the release branch:
|
7. If all is right, commit the changes to the release branch:
|
||||||
|
@ -207,6 +227,26 @@ explained at the end of this document in
|
||||||
5. Compile and run `make test`, with and without ZTS, using the right Bison and
|
5. Compile and run `make test`, with and without ZTS, using the right Bison and
|
||||||
re2c version (for PHP 7.4, minimum Bison 3.0.0 and re2c 0.13.4 are used).
|
re2c version (for PHP 7.4, minimum Bison 3.0.0 and re2c 0.13.4 are used).
|
||||||
|
|
||||||
|
For example:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
# With ZTS
|
||||||
|
make distclean || \
|
||||||
|
./buildconf --force \
|
||||||
|
&& ./configure --enable-zts --disable-all --enable-debug --enable-opcache --enable-opcache-jit \
|
||||||
|
&& make -j$(nproc) \
|
||||||
|
&& make test TEST_PHP_ARGS=-j$(nproc) \
|
||||||
|
&& ./sapi/cli/php -v
|
||||||
|
|
||||||
|
# Without ZTS
|
||||||
|
make distclean || \
|
||||||
|
./buildconf --force \
|
||||||
|
&& ./configure --disable-all --enable-debug --enable-opcache --enable-opcache-jit \
|
||||||
|
&& make -j$(nproc) \
|
||||||
|
&& make test TEST_PHP_ARGS=-j$(nproc) \
|
||||||
|
&& ./sapi/cli/php -v
|
||||||
|
```
|
||||||
|
|
||||||
6. Check `./sapi/cli/php -v` output for version matching.
|
6. Check `./sapi/cli/php -v` output for version matching.
|
||||||
|
|
||||||
7. Tag the repository with the version e.g. `git tag -u YOURKEYID php-7.4.1`
|
7. Tag the repository with the version e.g. `git tag -u YOURKEYID php-7.4.1`
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue