Fix for windows crashes (#1387)

This commit is contained in:
Raivis Dejus 2026-02-20 15:47:13 +02:00 committed by GitHub
commit bb546acbf9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 171 additions and 74 deletions

View file

@ -94,6 +94,8 @@ jobs:
run: |
uv run make test
shell: bash
env:
PYTHONFAULTHANDLER: "1"
- name: Upload coverage reports to Codecov with GitHub Action
uses: codecov/codecov-action@v4
@ -174,10 +176,10 @@ jobs:
- name: Install dependencies
run: uv sync
- uses: AnimMouse/setup-ffmpeg@v1.2.1
- uses: AnimMouse/setup-ffmpeg@v1
id: setup-ffmpeg
with:
version: ${{ matrix.os == 'macos-15-intel' && '7.1.1' || matrix.os == 'macos-latest' && '71' || '7.1' }}
version: ${{ matrix.os == 'macos-15-intel' && '7.1.1' || matrix.os == 'macos-latest' && '80' || '8.0' }}
- name: Install MSVC for Windows
run: |

View file

@ -24,23 +24,11 @@ jobs:
# Ideas from https://github.com/orgs/community/discussions/25678
- name: Remove unused build tools
run: |
sudo apt-get remove -y '^llvm-.*'
sudo apt-get remove -y 'php.*'
sudo apt-get remove -y azure-cli google-cloud-sdk hhvm google-chrome-stable firefox powershell mono-devel || true
sudo apt-get autoremove -y
sudo apt-get clean
python -m pip cache purge
rm -rf /opt/hostedtoolcache || true
- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
root-reserve-mb: 45000
swap-size-mb: 1024
remove-dotnet: 'true'
remove-android: 'true'
remove-haskell: 'true'
remove-codeql: 'true'
remove-docker-images: 'true'
- name: Check available disk space
run: |
echo "=== Disk space ==="