Skip to content

Commit

Permalink
Merge pull request #2979 from wangzhaode/feature/pymnn_release
Browse files Browse the repository at this point in the history
[CI:Update] update pymnn_release action.
  • Loading branch information
wangzhaode authored Jul 30, 2024
2 parents d9f7679 + 9ea6d97 commit e6042e5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pymnn_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
include:
- { os: ubuntu-latest, arch: x86_64, build: 'cp*-manylinux*' }
- { os: windows-latest, arch: AMD64, build: 'cp*' }
- { os: macos-latest, arch: x86_64, build: 'cp*' }
- { os: macos-14, arch: arm64, build: 'cp*' }
- { os: macos-13, arch: x86_64, build: 'cp*' }
- { os: macos-14, arch: arm64, build: 'cp*' }

steps:
- uses: actions/checkout@v3
Expand Down
5 changes: 4 additions & 1 deletion pymnn/pip_package/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@ build-backend = "setuptools.build_meta"

[tool.cibuildwheel]
test-skip = [
"*",
"cp36-*",
"*-macosx_arm64"
]
test-requires = [
"opencv-python==4.6.0.66",
"opencv-python",
"numpy",
"torch"
]
Expand All @@ -41,6 +42,8 @@ repair-wheel-command = ""
build = "cp*-manylinux*"
skip = "pp*"
before-all = [
"sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*",
"sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://mirrors.aliyun.com|g' /etc/yum.repos.d/CentOS-*",
"yum install -y wget",
"pushd pymnn/pip_package",
"python3 build_deps.py --torch",
Expand Down

0 comments on commit e6042e5

Please sign in to comment.