Skip to content

ci: release 0.5.6 #8 #22

ci: release 0.5.6 #8

ci: release 0.5.6 #8 #22

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 \