Skip to content

Commit

Permalink
Merge pull request #398 from dora-rs/fix-window-path-error
Browse files Browse the repository at this point in the history
Fix window path error
  • Loading branch information
haixuanTao authored Jan 9, 2024
2 parents fa9e2a4 + c82c853 commit e35ed75
Show file tree
Hide file tree
Showing 31 changed files with 558 additions and 426 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
workflow_dispatch:

env:
RUST_LOG: trace
RUST_LOG: INFO

jobs:
test:
Expand Down Expand Up @@ -65,13 +65,7 @@ jobs:
- name: "Build (Without Python node as it is build with maturin)"
run: cargo build --all --exclude dora-node-api-python
- name: "Test"
# Remove Windows as there is `pdb` linker issue.
# See: https://github.com/dora-rs/dora/pull/359#discussion_r1360268497
if: runner.os == 'Linux' || runner.os == 'macOS'
run: cargo test --all
- name: "Test"
if: runner.os == 'Windows'
run: cargo test --all --lib

# Run examples as separate job because otherwise we will exhaust the disk
# space of the GitHub action runners.
Expand Down Expand Up @@ -138,14 +132,16 @@ jobs:

# python examples
- uses: actions/setup-python@v2
if: runner.os == 'Linux' || runner.os == 'macOS'
if: runner.os != 'Windows'
with:
python-version: "3.8"
- uses: actions/setup-python@v2
if: runner.os == 'Windows'
with:
python-version: "3.10"
- name: "Python Dataflow example"
if: runner.os == 'Linux' || runner.os == 'macOS'
run: cargo run --example python-dataflow
- name: "Python Operator Dataflow example"
if: runner.os == 'Linux' || runner.os == 'macOS'
run: cargo run --example python-operator-dataflow

# ROS2 bridge examples
Expand Down Expand Up @@ -176,8 +172,13 @@ jobs:
source /opt/ros/humble/setup.bash && ros2 run turtlesim turtlesim_node &
cargo run --example rust-ros2-dataflow --features="ros2-examples"
- uses: actions/setup-python@v2
if: runner.os != 'Windows'
with:
python-version: "3.8"
- uses: actions/setup-python@v2
if: runner.os == 'Windows'
with:
python-version: "3.10"
- name: "python-ros2-dataflow"
timeout-minutes: 30
env:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

# Remove arrow file from dora-record
**/*.arrow
*.pt

# Removing images.
*.jpg
Expand Down
Loading

0 comments on commit e35ed75

Please sign in to comment.