File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 60
60
zts : [true, false]
61
61
include : ${{ fromJson(needs.GENERATE_MATRIX.outputs.matrix-include) }}
62
62
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') && !matrix.asan ) && '22.04' || '20.04' }}
63
+ runs-on : ubuntu-${{ (matrix.branch.ref == 'PHP-8.3' || matrix.branch.ref == 'master') && '22.04' || '20.04' }}
64
64
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
65
75
- name : git checkout
66
76
uses : actions/checkout@v4
67
77
with :
You can’t perform that action at this time.
0 commit comments