-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a40fa4e
commit 793d7d7
Showing
1 changed file
with
1 addition
and
41 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,46 +6,6 @@ on: | |
- master | ||
|
||
jobs: | ||
build_wheels: | ||
name: Build wheels on ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }} | ||
env: | ||
CIBW_PYPY_VERSION: "7.3.10*" | ||
strategy: | ||
matrix: | ||
os: [ubuntu-20.04, windows-2019, macos-11] | ||
steps: | ||
- name: GitHub Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Upgrade pip | ||
run: python -m pip install --upgrade pip | ||
|
||
- name: Set up Environment | ||
run: echo "CIBW_SKIP=pp36-* pp37-*" >> $GITHUB_ENV | ||
|
||
- name: Check ENV | ||
if: matrix.os == 'ubuntu-20.04' | ||
run: echo $PATH | ||
|
||
- name: Build wheels Linux | ||
if: matrix.os == 'ubuntu-20.04' | ||
uses: pypa/[email protected] | ||
env: | ||
CIBW_BEFORE_ALL: "bash dev/tools/github/install_rust.sh" | ||
|
||
- name: Build wheels Mac | ||
if: matrix.os == 'macos-11' | ||
uses: pypa/[email protected] | ||
|
||
- name: Build wheels Windows | ||
if: matrix.os == 'windows-2019' | ||
uses: pypa/[email protected] | ||
|
||
- name: Upload Artifacts | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
path: ./wheelhouse/*.whl | ||
|
||
build_sdist: | ||
name: Build source distribution | ||
|
@@ -63,7 +23,7 @@ jobs: | |
path: dist/*.tar.gz | ||
|
||
Release: | ||
needs: [build_wheels, build_sdist] | ||
needs: [build_sdist] | ||
runs-on: ubuntu-latest | ||
environment: pypi | ||
permissions: | ||
|