Skip to content

Commit

Permalink
change project structure
Browse files Browse the repository at this point in the history
  • Loading branch information
Hennzau committed Sep 6, 2024
1 parent c7c7006 commit 66c14bb
Show file tree
Hide file tree
Showing 78 changed files with 3,160 additions and 12,910 deletions.
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
8 changes: 7 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 @@ -76,3 +76,9 @@ docs/_build/

# UV
uv.lock

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

out/
Loading

0 comments on commit 66c14bb

Please sign in to comment.