Repository navigation
34 feature pyelk reformating and integration #39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
LudoBroche
wants to merge
12
commits into
main
Choose a base branch
from
34-feature-pyelk-reformating-and-integration
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
a5639aa
Issue #34 - WIP - Importing layout computation in project
LudoBroche ebfe164
Issue #34 - Test with rustelk wrapper
LudoBroche b308f67
Issue #34 - Using rust-elk for rounting
LudoBroche 3e5b613
Issue #34 - remove pyelk and add pytest
LudoBroche 0b0b898
Issue #34 - Testing github workflow to build various wheels
LudoBroche 44f5733
Issue #34 - Adding arch
LudoBroche 17e2db1
Issue #34 - Adding metadata to Cargo.toml
LudoBroche 0dfd0a5
Issue #34 - New name of the python-rust and license
LudoBroche 28ed109
Issue #34 - Adding linting and type for rust binding
LudoBroche 0045765
Issue #34 - renamed port_id
LudoBroche 4a34c58
Issue #34 - Handling routing option
LudoBroche d8acc0b
Issue #34 - rebase
LudoBroche File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,90 @@ | ||
| name: Build | ||
|
|
||
| on: | ||
| workflow_call: | ||
|
|
||
| jobs: | ||
| # Build every wheel from the source distribution that will be published. | ||
| # The wheels are abi3 (cp310-abi3): they work with any Python >= 3.10, | ||
| # so they do not need to be built per Python version. | ||
| wheels: | ||
| name: Wheel from sdist (${{ matrix.os }}) | ||
| needs: sdist | ||
| runs-on: ${{ matrix.os }} | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| include: | ||
| - os: ubuntu-latest # x86_64 | ||
| manylinux: auto | ||
| - os: ubuntu-24.04-arm # aarch64 | ||
| manylinux: auto | ||
| - os: windows-latest | ||
| manylinux: "off" | ||
| - os: macos-15-intel # x86_64 | ||
| manylinux: "off" | ||
| - os: macos-latest # arm64 | ||
| manylinux: "off" | ||
| steps: | ||
| - uses: actions/setup-python@v7 | ||
| with: | ||
| python-version: "3.12" | ||
|
|
||
| - uses: actions/download-artifact@v8 | ||
| with: | ||
| name: dist-sdist | ||
| path: sdist | ||
|
|
||
| - name: Extract source distribution | ||
| shell: bash | ||
| run: | | ||
| mkdir source | ||
| tar -xzf sdist/*.tar.gz --directory source --strip-components=1 | ||
|
|
||
| - uses: PyO3/maturin-action@v1 | ||
| with: | ||
| command: build | ||
| working-directory: source | ||
| args: --release --out dist | ||
| manylinux: ${{ matrix.manylinux }} | ||
|
|
||
| - uses: actions/upload-artifact@v7 | ||
| with: | ||
| name: dist-wheel-${{ matrix.os }} | ||
| path: source/dist/ | ||
| if-no-files-found: error | ||
|
|
||
| sdist: | ||
| name: Source distribution | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v7 | ||
|
|
||
| - uses: PyO3/maturin-action@v1 | ||
| with: | ||
| command: sdist | ||
| args: --out dist | ||
|
|
||
| - uses: actions/upload-artifact@v7 | ||
| with: | ||
| name: dist-sdist | ||
| path: dist/ | ||
|
|
||
| # All wheels + sdist in one artifact, as published to PyPI. | ||
| dist: | ||
| name: Collect distribution | ||
| needs: [wheels, sdist] | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/download-artifact@v8 | ||
| with: | ||
| pattern: dist-* | ||
| merge-multiple: true | ||
| path: dist | ||
|
|
||
| - run: ls -l dist | ||
|
|
||
| - uses: actions/upload-artifact@v7 | ||
| with: | ||
| name: dist | ||
| path: dist/ |
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we not testing the test from the sources anymore?