build: upgrade dependencies #24
Workflow file for this run
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: Create Python release windows macos | |
on: | |
push: | |
# Sequence of patterns matched against refs/tags | |
tags: | |
- 'py-v*' # Push events to matching py-v*, i.e. py-v1.0, py-v20.15.10 | |
jobs: | |
build: | |
name: Create Release | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ "macos-latest", "windows-latest" ] | |
python-version: [ "3.7" ] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install rust stable | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
- name: Set up Python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install maturin==0.12.7 | |
- name: Publish wheel | |
shell: bash | |
env: | |
MATURIN_PASSWORD: ${{ secrets.PYPI_PASS }} | |
run: | | |
export RUSTFLAGS='-C target-feature=+fxsr,+sse,+sse2,+sse3' | |
maturin publish \ | |
--no-sdist \ | |
--skip-existing \ | |
-o wheels \ | |
-i python \ | |
--username yankun \ |