Skip to content

Commit

Permalink
Add support for "p" alias (besides "on")
Browse files Browse the repository at this point in the history
Fixes #16.
  • Loading branch information
aMarcireau committed Jun 1, 2024
1 parent b101ba1 commit 856c8e8
Show file tree
Hide file tree
Showing 12 changed files with 1,658 additions and 1,776 deletions.
5 changes: 0 additions & 5 deletions .cargo/config

This file was deleted.

20 changes: 11 additions & 9 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:

env:
CIBW_ARCHS_MACOS: x86_64 arm64
CIBW_ARCHS_LINUX: x86_64
CIBW_BEFORE_ALL_LINUX: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain=stable --profile=minimal -y
CIBW_ENVIRONMENT_LINUX: 'PATH="$HOME/.cargo/bin:$PATH"'
CIBW_SKIP: cp36-* cp37-* pp* *i686
Expand All @@ -28,9 +29,9 @@ jobs:
- run: rustup target add i686-pc-windows-msvc
if: startsWith(matrix.os, 'windows')
- uses: pypa/[email protected]
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: wheelhouse
name: wheelhouse-${{ matrix.os }}
path: ./wheelhouse/*.whl
import_library:
name: Import library on ${{ matrix.os }} with Python ${{ matrix.python }}
Expand All @@ -41,12 +42,12 @@ jobs:
python: ["3.8", "3.9", "3.10", "3.11", "3.12"]
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: wheelhouse
name: wheelhouse-${{ matrix.python }}
path: wheelhouse
- run: python -m pip install --find-links wheelhouse aedat
- run: python -c 'import aedat'
Expand All @@ -56,7 +57,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: pipx run build --sdist
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: dist
path: dist/*.tar.gz
Expand All @@ -66,11 +67,12 @@ jobs:
needs: [build_wheels, import_library, build_sdist]
if: github.event_name == 'release' && github.event.action == 'published'
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: wheelhouse
path: wheelhouse
- uses: actions/download-artifact@v3
pattern: wheelhouse-*
merge-multiple: true
- uses: actions/download-artifact@v4
with:
name: dist
path: dist
Expand Down
Loading

0 comments on commit 856c8e8

Please sign in to comment.