-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
18320e3
commit c5597e9
Showing
1 changed file
with
12 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 |
---|---|---|
|
@@ -39,11 +39,13 @@ jobs: | |
uses: PyO3/maturin-action@v1 | ||
with: | ||
target: x86_64 | ||
sccache: true | ||
args: -i python --release --out dist --sdist --manifest-path cramjam-cli/Cargo.toml | ||
- name: Build wheels - x86_64 - cramjam-python | ||
uses: PyO3/maturin-action@v1 | ||
with: | ||
target: x86_64 | ||
sccache: true | ||
args: -i python --release --out dist --sdist --manifest-path cramjam-python/Cargo.toml | ||
- name: Install built wheels - x86_64 | ||
run: | | ||
|
@@ -53,11 +55,13 @@ jobs: | |
if: ${{ matrix.python-version >= '3.8' || contains(fromJson('["3.10", "3.11", "3.12"]'), matrix.python-version) }} | ||
uses: PyO3/maturin-action@v1 | ||
with: | ||
sccache: true | ||
args: -i python --release --target universal2-apple-darwin --out dist --manifest-path cramjam-cli/Cargo.toml | ||
- name: Build wheels - universal2 | ||
if: ${{ matrix.python-version >= '3.8' || contains(fromJson('["3.10", "3.11", "3.12"]'), matrix.python-version) }} | ||
uses: PyO3/maturin-action@v1 | ||
with: | ||
sccache: true | ||
args: -i python --release --target universal2-apple-darwin --out dist --manifest-path cramjam-python/Cargo.toml | ||
- name: Install built wheels - universal2 | ||
if: ${{ matrix.python-version >= '3.8' || contains(fromJson('["3.10", "3.11", "3.12"]'), matrix.python-version) }} | ||
|
@@ -110,11 +114,13 @@ jobs: | |
uses: PyO3/maturin-action@v1 | ||
with: | ||
target: ${{ matrix.target }} | ||
sccache: true | ||
args: -i python --release --out dist --manifest-path cramjam-python/Cargo.toml | ||
- name: Build wheels - cramjam-cli | ||
uses: PyO3/maturin-action@v1 | ||
with: | ||
target: ${{ matrix.target }} | ||
sccache: true | ||
args: -i python --release --out dist --manifest-path cramjam-cli/Cargo.toml | ||
- name: Install built wheel | ||
run: | | ||
|
@@ -165,12 +171,14 @@ jobs: | |
with: | ||
target: ${{ matrix.target }} | ||
manylinux: auto | ||
sccache: true | ||
args: -i ${{ matrix.python-version }} --release --out dist --manifest-path cramjam-python/Cargo.toml | ||
- name: Build Wheels - cramjam-cli | ||
uses: PyO3/maturin-action@v1 | ||
with: | ||
target: ${{ matrix.target }} | ||
manylinux: auto | ||
sccache: true | ||
args: -i ${{ matrix.python-version }} --release --out dist --manifest-path cramjam-cli/Cargo.toml | ||
- name: Python UnitTest - cramjam-python | ||
if: matrix.target == 'x86_64' | ||
|
@@ -221,12 +229,14 @@ jobs: | |
with: | ||
target: ${{ matrix.target }} | ||
manylinux: auto | ||
sccache: true | ||
args: -i ${{ matrix.python }} --release --out dist --manifest-path cramjam-python/Cargo.toml | ||
- name: Build Wheels cramjam-cli | ||
uses: PyO3/maturin-action@v1 | ||
with: | ||
target: ${{ matrix.target }} | ||
manylinux: auto | ||
sccache: true | ||
args: -i ${{ matrix.python }} --release --out dist --manifest-path cramjam-cli/Cargo.toml | ||
- uses: uraimo/[email protected] | ||
# skipped cross compiled pypy wheel tests for now | ||
|
@@ -293,12 +303,14 @@ jobs: | |
uses: PyO3/maturin-action@v1 | ||
with: | ||
manylinux: auto | ||
sccache: true | ||
args: -i ${{ matrix.python }} --release ${{ matrix.platform.flags }} --out dist --manifest-path cramjam-python/Cargo.toml | ||
- name: Build Wheels - cramjam-cli | ||
if: ${{ matrix.platform.os != 'windows-latest' }} | ||
uses: PyO3/maturin-action@v1 | ||
with: | ||
manylinux: auto | ||
sccache: true | ||
args: -i ${{ matrix.python }} --release ${{ matrix.platform.flags }} --out dist --manifest-path cramjam-cli/Cargo.toml | ||
- name: cramjam test | ||
# TODO: I'm not sure but the actual collection of tests on windows using pypy3.10 takes forever and/or fails | ||
|