mirror of
https://github.com/php/php-src.git
synced 2025-08-16 14:08:47 +02:00
Downgrade to Ubuntu 20.04 for ASAN nightly for now
See https://github.com/actions/runner-images/issues/6709.
This commit is contained in:
parent
36559fb264
commit
ef6bbaa1ec
3 changed files with 8 additions and 1 deletions
3
.github/nightly_matrix.php
vendored
3
.github/nightly_matrix.php
vendored
|
@ -53,6 +53,7 @@ function get_matrix_include(array $branches) {
|
|||
'configuration_parameters' => "CFLAGS='-fsanitize=undefined,address -DZEND_TRACK_ARENA_ALLOC' LDFLAGS='-fsanitize=undefined,address'",
|
||||
'run_tests_parameters' => '--asan',
|
||||
'test_function_jit' => false,
|
||||
'asan' => true,
|
||||
];
|
||||
if ($branch['ref'] !== 'PHP-8.0') {
|
||||
$jobs[] = [
|
||||
|
@ -63,6 +64,7 @@ function get_matrix_include(array $branches) {
|
|||
'run_tests_parameters' => '--repeat 2',
|
||||
'timeout_minutes' => 360,
|
||||
'test_function_jit' => true,
|
||||
'asan' => false,
|
||||
];
|
||||
$jobs[] = [
|
||||
'name' => '_VARIATION',
|
||||
|
@ -72,6 +74,7 @@ function get_matrix_include(array $branches) {
|
|||
'configuration_parameters' => "CFLAGS='-DZEND_RC_DEBUG=1 -DPROFITABILITY_CHECKS=0 -DZEND_VERIFY_FUNC_INFO=1'",
|
||||
'timeout_minutes' => 360,
|
||||
'test_function_jit' => true,
|
||||
'asan' => false,
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
4
.github/scripts/setup-slapd.sh
vendored
4
.github/scripts/setup-slapd.sh
vendored
|
@ -42,6 +42,10 @@ sudo sed -e 's|^\s*SLAPD_SERVICES\s*=.*$|SLAPD_SERVICES="ldap:/// ldaps:/// ldap
|
|||
# Configure LDAP database.
|
||||
DBDN=`sudo ldapsearch -Q -LLL -Y EXTERNAL -H ldapi:/// -b cn=config '(&(olcRootDN=*)(olcSuffix=*))' dn | grep -i '^dn:' | sed -e 's/^dn:\s*//'`;
|
||||
|
||||
if test -f "/etc/ldap/schema/ppolicy.ldif"; then
|
||||
sudo ldapadd -Q -Y EXTERNAL -H ldapi:/// -f /etc/ldap/schema/ppolicy.ldif
|
||||
fi
|
||||
|
||||
sudo service slapd restart
|
||||
|
||||
sudo ldapmodify -Q -Y EXTERNAL -H ldapi:/// << EOF
|
||||
|
|
2
.github/workflows/nightly.yml
vendored
2
.github/workflows/nightly.yml
vendored
|
@ -59,7 +59,7 @@ jobs:
|
|||
zts: [true, false]
|
||||
include: ${{ fromJson(needs.GENERATE_MATRIX.outputs.matrix-include) }}
|
||||
name: "${{ matrix.branch.name }}_LINUX_X64${{ matrix.name }}_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}"
|
||||
runs-on: ubuntu-${{ matrix.branch.ref == 'master' && '22.04' || '20.04' }}
|
||||
runs-on: ubuntu-${{ (matrix.branch.ref == 'master' && !matrix.asan) && '22.04' || '20.04' }}
|
||||
steps:
|
||||
- name: git checkout
|
||||
uses: actions/checkout@v3
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue