Skip to content

Commit

Permalink
Fix Window CI Issue
Browse files Browse the repository at this point in the history
FIx CI by removing android uninstall and adding time becfore checking for tick

Removing cache to fix cargo pdb error

See https://stackoverflow.com/questions/4256524/lnk1318-unexpected-pdb-error-ok-0

Add time before timing out for the CI to run

Reduce the amount of jobs to reduce memory consumption and maybe fix parallel build error

Remove rust caching as it not link to CI issue

Remove android folder to add more space to window runner
  • Loading branch information
haixuanTao committed Oct 9, 2023
1 parent 3a0424f commit a5ddee0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
platform: [ubuntu-latest, macos-latest, windows-latest]
fail-fast: false
runs-on: ${{ matrix.platform }}
timeout-minutes: 30
timeout-minutes: 60
steps:
- uses: actions/checkout@v3
- uses: r7kamura/[email protected]
Expand All @@ -43,7 +43,7 @@ jobs:
if: runner.os == 'Windows'
run: |
docker system prune --all -f
rmdir /s /q C:\Android
Remove-Item "C:\Android" -Force -Recurse
- uses: Swatinem/rust-cache@v2
with:
cache-provider: buildjet
Expand All @@ -56,7 +56,7 @@ jobs:
- name: "Build"
run: cargo build --all
- name: "Test"
run: cargo test --all
run: cargo test --all --jobs 1

# Run examples as separate job because otherwise we will exhaust the disk
# space of the GitHub action runners.
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:
if: runner.os == 'Windows'
run: |
docker system prune --all -f
rmdir /s /q C:\Android
Remove-Item "C:\Android" -Force -Recurse
- uses: Swatinem/rust-cache@v2
with:
cache-provider: buildjet
Expand Down Expand Up @@ -197,7 +197,7 @@ jobs:
platform: [ubuntu-latest, macos-latest, windows-latest]
fail-fast: false
runs-on: ${{ matrix.platform }}
timeout-minutes: 30
timeout-minutes: 60
steps:
- uses: actions/checkout@v3
- uses: r7kamura/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion examples/python-ros2-dataflow/random_turtle.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from dora import Node
import pyarrow as pa

CHECK_TICK = 20
CHECK_TICK = 50

ros2_context = dora.experimental.ros2_bridge.Ros2Context()
ros2_node = ros2_context.new_node(
Expand Down

0 comments on commit a5ddee0

Please sign in to comment.