Skip to content

Commit

Permalink
remove debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
yanghaoqi committed Sep 20, 2024
1 parent 3fb2de6 commit 3373f5c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/compiler-python-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 3373f5c

Please sign in to comment.