Skip to content

Commit

Permalink
remove windows & macos builds - we need to fork, and windows does not
Browse files Browse the repository at this point in the history
  • Loading branch information
TyberiusPrime committed May 16, 2023
1 parent b156168 commit 54a8c35
Showing 1 changed file with 38 additions and 38 deletions.
76 changes: 38 additions & 38 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,50 +20,50 @@ jobs:
name: wheels
path: dist

windows:
runs-on: windows-latest
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
target: [x64, x86]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: ${{ matrix.target }}
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
args: -i python --release --out dist
- name: Upload wheels
uses: actions/upload-artifact@v3
with:
name: wheels
path: dist
# windows:
# runs-on: windows-latest
# strategy:
# matrix:
# python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
# target: [x64, x86]
# steps:
# - uses: actions/checkout@v3
# - uses: actions/setup-python@v4
# with:
# python-version: ${{ matrix.python-version }}
# architecture: ${{ matrix.target }}
# - name: Install Rust toolchain
# uses: dtolnay/rust-toolchain@stable
# - name: Build wheels
# uses: PyO3/maturin-action@v1
# with:
# target: ${{ matrix.target }}
# args: -i python --release --out dist
# - name: Upload wheels
# uses: actions/upload-artifact@v3
# with:
# name: wheels
# path: dist

macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: messense/maturin-action@v1
with:
command: build
args: --release --no-sdist -o dist --universal2
- name: Upload wheels
uses: actions/upload-artifact@v3
with:
name: wheels
path: dist
# macos:
# runs-on: macos-latest
# steps:
# - uses: actions/checkout@v3
# - uses: messense/maturin-action@v1
# with:
# command: build
# args: --release --no-sdist -o dist --universal2
# - name: Upload wheels
# uses: actions/upload-artifact@v3
# with:
# name: wheels
# path: dist

release:
name: Release
runs-on: ubuntu-latest
if: github.event_name == 'release' && github.event.action == 'published'
needs: [ macos, windows, linux ]
needs: [ linux ]
steps:
- uses: actions/download-artifact@v3
with:
Expand Down

0 comments on commit 54a8c35

Please sign in to comment.