1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Revert "Test ASAN on Ubuntu 22.04 in nightly by increasing swap"

This reverts commit f7cef9a242.

This didn't work as intended, the builds are still failing for no obvious
reason.
This commit is contained in:
Ilija Tovilo
2023-10-15 12:17:39 +02:00
parent 7e0495481a
commit 5a0c0072dd

View File

@@ -60,18 +60,8 @@ 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 == 'PHP-8.3' || matrix.branch.ref == 'master') && '22.04' || '20.04' }}
runs-on: ubuntu-${{ ((matrix.branch.ref == 'PHP-8.3' || matrix.branch.ref == 'master') && !matrix.asan) && '22.04' || '20.04' }}
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
uses: actions/checkout@v4
with: