Bump version to 0.2.1 #35
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: wheels | |
on: | |
push: | |
branches: | |
- 'build-wheel' | |
jobs: | |
build_linux_wheels: | |
name: build linux wheels | |
runs-on: ubuntu-latest | |
env: | |
PY_VERS: cp38-cp38 cp39-cp39 cp310-cp310 cp311-cp311 cp312-cp312 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: set up container | |
run: | | |
docker create --name linux_build -i -v /:/host quay.io/pypa/manylinux2014_x86_64:latest /bin/bash | |
docker cp . linux_build:/cryptomite/ | |
- name: run build | |
run: | | |
docker start linux_build | |
docker exec -e PY_VERS="${PY_VERS}" linux_build /bin/bash -c "/cryptomite/.github/workflows/linuxbuildwheels" | |
mkdir wheelhouse | |
docker cp linux_build:/cryptomite/audited/. wheelhouse/ | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: linux_wheels | |
path: wheelhouse/ | |
build_macos_wheels: | |
name: build macos wheels | |
runs-on: macos-13 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: set up python 3.8 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
- name: build wheel (3.8) | |
run: .github/workflows/macosbuildwheel | |
- name: set up python 3.9 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.9' | |
- name: build wheel (3.9) | |
run: .github/workflows/macosbuildwheel | |
- name: set up python 3.10 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.10' | |
- name: build wheel (3.10) | |
run: .github/workflows/macosbuildwheel | |
- name: set up python 3.11 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.11' | |
- name: build wheel (3.11) | |
run: .github/workflows/macosbuildwheel | |
- name: set up python 3.12 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.12' | |
- name: build wheel (3.12) | |
run: .github/workflows/macosbuildwheel | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: macos_wheels | |
path: wheelhouse/ | |
build_macos_m1_wheels: | |
name: build macos M1 wheels | |
runs-on: macos-latest-xlarge | |
steps: | |
- uses: actions/checkout@v2 | |
- name: set up python 3.10 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.10' | |
- name: build wheel (3.10) | |
run: .github/workflows/macosbuildwheel | |
- name: set up python 3.11 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.11' | |
- name: build wheel (3.11) | |
run: .github/workflows/macosbuildwheel | |
- name: set up python 3.12 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.12' | |
- name: build wheel (3.12) | |
run: .github/workflows/macosbuildwheel | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: macos_m1_wheels | |
path: wheelhouse/ | |
build_windows_wheels: | |
name: build windows wheels | |
runs-on: windows-2019 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: set up python 3.8 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
- name: build wheel (3.8) | |
run: | | |
python -m pip install -U pip wheel scikit-build | |
python setup.py bdist_wheel -d "${{ github.workspace }}/wheelhouse" | |
- name: set up python 3.9 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.9' | |
- name: build wheel (3.9) | |
run: | | |
python -m pip install -U pip wheel scikit-build | |
python setup.py bdist_wheel -d "${{ github.workspace }}/wheelhouse" | |
- name: set up python 3.10 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.10' | |
- name: build wheel (3.10) | |
run: | | |
python -m pip install -U pip wheel scikit-build | |
python setup.py bdist_wheel -d "${{ github.workspace }}/wheelhouse" | |
- name: set up python 3.11 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.11' | |
- name: build wheel (3.11) | |
run: | | |
python -m pip install -U pip wheel scikit-build | |
python setup.py bdist_wheel -d "${{ github.workspace }}/wheelhouse" | |
- name: set up python 3.12 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.12' | |
- name: build wheel (3.12) | |
run: | | |
python -m pip install -U pip wheel scikit-build | |
python setup.py bdist_wheel -d "${{ github.workspace }}/wheelhouse" | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: windows_wheels | |
path: wheelhouse/ |