Skip to content

Commit

Permalink
Removing dependency on MersenneTwister
Browse files Browse the repository at this point in the history
  • Loading branch information
msoos committed Oct 22, 2023
1 parent 1fc4f7e commit ab82c89
Show file tree
Hide file tree
Showing 14 changed files with 113 additions and 510 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/newpython.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: better-python-build
name: python-wheel-build

on: [push, pull_request]

Expand All @@ -8,8 +8,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04]
# os: [ubuntu-20.04, windows-2019, macOS-11]
os: [ubuntu-20.04, windows-2022, macOS-13]

steps:
- uses: actions/checkout@v3
Expand All @@ -18,23 +17,24 @@ jobs:
- uses: actions/setup-python@v3

- name: Install cibuildwheel
run: python -m pip install cibuildwheel==2.12.3
run: python -m pip install cibuildwheel==2.16.2

- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
# to supply options, put them in 'env', like:
env:
CIBW_BEFORE_ALL_LINUX: yum install -y boost-devel zlib-devel
CIBW_SKIP: "*musl*"
CIBW_ARCHS: "auto64"

- uses: actions/upload-artifact@v3
with:
path: ./wheelhouse/*.whl
- name: Install twine
run: python -m pip install twine
- name: Publish wheels to PyPI
- name: Publish wheels to PyPI
env:
TWINE_USERNAME: "__token__"
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
twine upload --skip-existing --disable-progress-bar ./wheelhouse/pycmsgen-*manylinux*x86_64.whl
twine upload --skip-existing --disable-progress-bar ./wheelhouse/pycmsgen-*.whl
Loading

0 comments on commit ab82c89

Please sign in to comment.