Skip to content

Commit

Permalink
Merge pull request #9 from mdmmn378/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
mdmmn378 authored Nov 25, 2023
2 parents 29c15bc + 4511652 commit 93f53da
Showing 1 changed file with 27 additions and 26 deletions.
53 changes: 27 additions & 26 deletions .github/workflows/build-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,31 +20,31 @@ jobs:
command: build
args: --release

macos:
runs-on: macos-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- uses: dtolnay/rust-toolchain@stable
- name: Build wheels - universal2
uses: PyO3/maturin-action@v1
with:
args: --release --universal2 --out dist -m Cargo.toml -i ${{ matrix.python-version }}
- name: Install built wheel - universal2
run: |
pip install texy --no-index --find-links dist --force-reinstall
python -c "import texy"
- name: Upload wheels
uses: actions/upload-artifact@v3
with:
name: wheels
path: dist
# macos:
# runs-on: macos-latest
# strategy:
# matrix:
# python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
# steps:
# - uses: actions/checkout@v3
# - uses: actions/setup-python@v4
# with:
# python-version: ${{ matrix.python-version }}
# architecture: x64
# - uses: dtolnay/rust-toolchain@stable
# - name: Build wheels - universal2
# uses: PyO3/maturin-action@v1
# with:
# args: --release --universal2 --out dist -m Cargo.toml -i ${{ matrix.python-version }}
# - name: Install built wheel - universal2
# run: |
# pip install texy --no-index --find-links dist --force-reinstall
# python -c "import texy"
# - name: Upload wheels
# uses: actions/upload-artifact@v3
# with:
# name: wheels
# path: dist

linux:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -160,7 +160,8 @@ jobs:
name: Release
runs-on: ubuntu-latest
# if: "startsWith(github.ref, 'refs/tags/')"
needs: [macos, linux, musllinux, musllinux-cross]
# needs: [macos, linux, musllinux, musllinux-cross]
needs: [linux, musllinux, musllinux-cross]
steps:
- uses: actions/download-artifact@v3
with:
Expand Down

0 comments on commit 93f53da

Please sign in to comment.