From 57f106c6834f9209e99aef1cfbd1f3d8289a5e7c Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Thu, 24 Feb 2022 09:16:05 +1100 Subject: [PATCH 1/2] Enable heap verification without gflags --- .github/workflows/test-windows.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-windows.yml b/.github/workflows/test-windows.yml index c78f9fd24ec..e2cf44caea7 100644 --- a/.github/workflows/test-windows.yml +++ b/.github/workflows/test-windows.yml @@ -137,10 +137,11 @@ jobs: & $env:pythonLocation\python.exe selftest.py --installed shell: pwsh - # failing with PyPy3 + # skip PyPy for speed - name: Enable heap verification if: "!contains(matrix.python-version, 'pypy')" - run: "& 'C:\\Program Files (x86)\\Windows Kits\\10\\Debuggers\\x86\\gflags.exe' /p /enable $env:pythonLocation\\python.exe" + run: | + & reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\python.exe" /v "GlobalFlag" /t REG_SZ /d "0x02000000" /f - name: Test Pillow run: | From 839b634fd5ce6eefd84e6d1f6e3e597ac4b9d2a3 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Wed, 23 Feb 2022 23:28:23 +1100 Subject: [PATCH 2/2] Install gcc to allow coverage to build --- .github/workflows/test-mingw.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test-mingw.yml b/.github/workflows/test-mingw.yml index 8a9c1725d9a..51bd3a30083 100644 --- a/.github/workflows/test-mingw.yml +++ b/.github/workflows/test-mingw.yml @@ -45,6 +45,7 @@ jobs: ${{ matrix.package }}-python-pyqt6 \ ${{ matrix.package }}-python3-setuptools \ ${{ matrix.package }}-freetype \ + ${{ matrix.package }}-gcc \ ${{ matrix.package }}-ghostscript \ ${{ matrix.package }}-lcms2 \ ${{ matrix.package }}-libimagequant \