diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 88d1f11d2da..2e998453e5c 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -250,6 +250,14 @@ jobs: - name: Set up MSVC uses: step-security/msvc-dev-cmd@22c98154b708dbd743e6f27a933cf6ceba3305c4 # v1.13.1 + - name: Raise the interpreter's stack reserve to 8 MiB + # Importing the coverage-built cuda.bindings.driver overflows the + # 2,000,000-byte main-thread stack of python-build-standalone (#3330). + run: | + base_py="$(.venv/Scripts/python -c 'import sys; print(sys._base_executable)')" + editbin -nologo -stack:8388608 "$base_py" + dumpbin -nologo -headers "$base_py" | grep -i "size of stack reserve" + - name: Set up mini CTK uses: ./.github/actions/fetch_ctk continue-on-error: false