Skip to content

Commit 5a0c007

Browse files
committed
Revert "Test ASAN on Ubuntu 22.04 in nightly by increasing swap"
This reverts commit f7cef9a. This didn't work as intended, the builds are still failing for no obvious reason.
1 parent 7e04954 commit 5a0c007

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

.github/workflows/nightly.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -60,18 +60,8 @@ jobs:
6060
zts: [true, false]
6161
include: ${{ fromJson(needs.GENERATE_MATRIX.outputs.matrix-include) }}
6262
name: "${{ matrix.branch.name }}_LINUX_X64${{ matrix.name }}_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}"
63-
runs-on: ubuntu-${{ (matrix.branch.ref == 'PHP-8.3' || matrix.branch.ref == 'master') && '22.04' || '20.04' }}
63+
runs-on: ubuntu-${{ ((matrix.branch.ref == 'PHP-8.3' || matrix.branch.ref == 'master') && !matrix.asan) && '22.04' || '20.04' }}
6464
steps:
65-
# https://stackoverflow.com/a/76921482/1320374
66-
- name: Increase swapfile
67-
if: matrix.asan
68-
run: |
69-
sudo swapoff -a
70-
sudo fallocate -l 8G /swapfile
71-
sudo chmod 600 /swapfile
72-
sudo mkswap /swapfile
73-
sudo swapon /swapfile
74-
sudo swapon --show
7565
- name: git checkout
7666
uses: actions/checkout@v4
7767
with:

0 commit comments

Comments
 (0)