Skip to content
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

Add another datatype to check if it's easy to add another datatype #4

Merged
merged 6 commits into from
Sep 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 2 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,7 @@ jobs:
cache-directories: ${{ env.CARGO_TARGET_DIR }}

- name: "Check"
run: cargo check --all
- name: "Build (Without Python node as it is build with maturin)"
run: cargo build --all --exclude dora-node-api-python
- name: "Test"
run: cargo test --all --exclude dora-ros2-bridge-python
run: cargo check --all --all-features

clippy:
name: "Clippy"
Expand All @@ -48,14 +44,7 @@ jobs:
- run: cargo --version --verbose

- name: "Clippy"
run: cargo clippy --all
- name: "Clippy (tracing feature)"
run: cargo clippy --all --features tracing
if: false # only the dora-runtime has this feature, but it is currently commented out
- name: "Clippy (metrics feature)"
run: cargo clippy --all --features metrics
if: false # only the dora-runtime has this feature, but it is currently commented out

run: cargo clippy --all --all-features
rustfmt:
name: "Formatting"
runs-on: ubuntu-latest
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/pip_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --find-interpreter
args: --release --out dist --find-interpreter --manifest-path libraries/fastformat/Cargo.toml --all-features
sccache: "true"
manylinux: auto
- name: Upload wheels
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --find-interpreter
args: --release --out dist --find-interpreter --manifest-path libraries/fastformat/Cargo.toml --all-features
sccache: "true"
manylinux: musllinux_1_2
- name: Upload wheels
Expand Down Expand Up @@ -108,7 +108,7 @@ jobs:
target: ${{ matrix.platform.target }}
manylinux: auto
container: off
args: --release -o dist -i 3.8
args: --release -o dist -i 3.8 --manifest-path libraries/fastformat/Cargo.toml --all-features
- name: Upload wheels
uses: actions/upload-artifact@v3
with:
Expand All @@ -134,7 +134,7 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --find-interpreter
args: --release --out dist --find-interpreter --manifest-path libraries/fastformat/Cargo.toml --all-features
sccache: "true"
- name: Upload wheels
uses: actions/upload-artifact@v4
Expand All @@ -160,7 +160,7 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --find-interpreter
args: --release --out dist --find-interpreter --manifest-path libraries/fastformat/Cargo.toml --all-features
sccache: "true"
- name: Upload wheels
uses: actions/upload-artifact@v4
Expand All @@ -176,7 +176,7 @@ jobs:
uses: PyO3/maturin-action@v1
with:
command: sdist
args: --out dist
args: --out dist --manifest-path libraries/fastformat/Cargo.toml
- name: Upload sdist
uses: actions/upload-artifact@v4
with:
Expand Down
14 changes: 13 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ __pycache__/
.pytest_cache/
*.py[cod]

# C extensions
# C extensionst
*.so

# Distribution / packaging
Expand Down Expand Up @@ -70,3 +70,15 @@ docs/_build/

# Pyenv
.python-version

# PyO3 config
.pyo3_config

# UV
uv.lock

# Dora
dora-coordinator.txt
dora-daemon.txt

out/
Loading
Loading