Skip to content

Commit

Permalink
update github action
Browse files Browse the repository at this point in the history
  • Loading branch information
quantumgizmos committed Oct 23, 2024
1 parent 0166665 commit 3c303d3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,16 @@ jobs:
{os: macos-latest, dist: cp310-macosx_x86_64},
{os: macos-latest, dist: cp311-macosx_x86_64},
{os: macos-latest, dist: cp312-macosx_x86_64},
{os: macos-latest, dist: cp313-macosx_x86_64},


# # macosx arm64
{os: macos-latest, dist: cp38-macosx_arm64},
{os: macos-latest, dist: cp39-macosx_arm64},
{os: macos-latest, dist: cp310-macosx_arm64},
{os: macos-latest, dist: cp311-macosx_arm64},
{os: macos-latest, dist: cp312-macosx_arm64},
{os: macos-latest, dist: cp313-macosx_arm64},

# # macosx universal2
# # {os: macos-latest, dist: cp38-macosx_universal2},
Expand All @@ -66,13 +69,16 @@ jobs:
{os: windows-latest, dist: cp310-win_amd64},
{os: windows-latest, dist: cp311-win_amd64},
{os: windows-latest, dist: cp312-win_amd64},
{os: windows-latest, dist: cp313-win_amd64},


# ubuntu x86_64
{os: ubuntu-latest, dist: cp38-manylinux_x86_64},
{os: ubuntu-latest, dist: cp39-manylinux_x86_64},
{os: ubuntu-latest, dist: cp310-manylinux_x86_64},
{os: ubuntu-latest, dist: cp311-manylinux_x86_64},
{os: ubuntu-latest, dist: cp312-manylinux_x86_64},
{os: ubuntu-latest, dist: cp313-manylinux_x86_64},


]
Expand All @@ -81,7 +87,7 @@ jobs:
with:
submodules: true

- uses: pypa/cibuildwheel@v2.19.1
- uses: pypa/cibuildwheel@v2.20.0

- uses: actions/upload-artifact@v3
with:
Expand All @@ -102,7 +108,7 @@ jobs:
path: dist
- uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.LDPC_TEST_PYPI }}
password: ${{ secrets.PYPI_PASSWORD }}
repository-url: https://test.pypi.org/legacy/
skip-existing: true
verbose: true
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@ dependencies = [
"sinter",
"BeliefMatching"
]
version = "2.0.19"
version = "2.1.0"

[project.urls]
Documentation = "https://software.roffe.eu/ldpc"

[tool.setuptools.packages.find]
where = ["src_python"]
include = ["ldpc","ldpc.*"]

0 comments on commit 3c303d3

Please sign in to comment.