-
Notifications
You must be signed in to change notification settings - Fork 2
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
376776b
commit d1d3651
Showing
1 changed file
with
35 additions
and
0 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,6 +6,41 @@ on: | |
workflow_dispatch: | ||
|
||
jobs: | ||
macos: | ||
name: Build Windows | ||
runs-on: windows-latest | ||
strategy: | ||
matrix: | ||
python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12' ] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: rust-toolchain | ||
uses: actions-rs/[email protected] | ||
with: | ||
profile: minimal | ||
toolchain: stable | ||
default: true | ||
- name: Setup Python ${{ matrix.python-version }} environment | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Build wheels (x86_64) | ||
uses: messense/maturin-action@v1 | ||
with: | ||
target: x86_64 | ||
maturin-version: v0.10.6 | ||
args: --interpreter python${{ matrix.python-version }} --release --out dist | ||
- name: Install built wheel (x86_64) | ||
run: | | ||
pip install pycoverm --no-index --find-links dist --force-reinstall --no-dependencies | ||
python -c "import pycoverm" | ||
- name: Upload wheels | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: wheels | ||
path: dist | ||
|
||
macos: | ||
name: Build macOS | ||
runs-on: macos-latest | ||
|