-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for "p" alias (besides "on")
Fixes #16.
- Loading branch information
1 parent
b101ba1
commit 856c8e8
Showing
12 changed files
with
1,658 additions
and
1,776 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -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 | ||
|
@@ -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 }} | ||
|
@@ -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' | ||
|
@@ -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 | ||
|
@@ -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 | ||
|
Oops, something went wrong.