diff --git a/.github/workflows/compiler-python-release.yml b/.github/workflows/compiler-python-release.yml index 87e3f246f6..78a33892bb 100644 --- a/.github/workflows/compiler-python-release.yml +++ b/.github/workflows/compiler-python-release.yml @@ -87,13 +87,6 @@ jobs: with: python-version: 3.8 - - name: Start tmate session for debugging - uses: mxschmitt/action-tmate@v3 - continue-on-error: true - - # 例如,如果编译失败,可以通过SSH进行调试 - - run: echo "Run after tmate session" - - name: Install cibuildwheel run: pip install cibuildwheel diff --git a/pyproject.toml b/pyproject.toml index 2a959a164c..06930ad3ae 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -42,10 +42,13 @@ PYTHONPATH = "{project}/tests:$PYTHONPATH" [tool.cibuildwheel.windows] archs = ["AMD64"] +before-build = [ + "if exist %PROJECT%\\CMakeUserPresets.json del %PROJECT%\\CMakeUserPresets.json", + "pip install auditwheel==6.0.0" +] [tool.cibuildwheel.linux] archs = ["x86_64"] - before-build = [ "rm -f {project}/CMakeUserPresets.json", "pip install auditwheel==6.0.0",