mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Merge branch 'PHP-8.3'
* PHP-8.3: Test ASAN on Ubuntu 22.04 in nightly by increasing swap
This commit is contained in:
commit
08fea2a10b
1 changed files with 11 additions and 1 deletions
12
.github/workflows/nightly.yml
vendored
12
.github/workflows/nightly.yml
vendored
|
@ -60,8 +60,18 @@ jobs:
|
||||||
zts: [true, false]
|
zts: [true, false]
|
||||||
include: ${{ fromJson(needs.GENERATE_MATRIX.outputs.matrix-include) }}
|
include: ${{ fromJson(needs.GENERATE_MATRIX.outputs.matrix-include) }}
|
||||||
name: "${{ matrix.branch.name }}_LINUX_X64${{ matrix.name }}_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}"
|
name: "${{ matrix.branch.name }}_LINUX_X64${{ matrix.name }}_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}"
|
||||||
runs-on: ubuntu-${{ ((matrix.branch.ref == 'PHP-8.3' || matrix.branch.ref == 'master') && !matrix.asan) && '22.04' || '20.04' }}
|
runs-on: ubuntu-${{ (matrix.branch.ref == 'PHP-8.3' || matrix.branch.ref == 'master') && '22.04' || '20.04' }}
|
||||||
steps:
|
steps:
|
||||||
|
# https://stackoverflow.com/a/76921482/1320374
|
||||||
|
- name: Increase swapfile
|
||||||
|
if: matrix.asan
|
||||||
|
run: |
|
||||||
|
sudo swapoff -a
|
||||||
|
sudo fallocate -l 8G /swapfile
|
||||||
|
sudo chmod 600 /swapfile
|
||||||
|
sudo mkswap /swapfile
|
||||||
|
sudo swapon /swapfile
|
||||||
|
sudo swapon --show
|
||||||
- name: git checkout
|
- name: git checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue