Skip to content

Add contact-aware odometry source #8362

Add contact-aware odometry source

Add contact-aware odometry source #8362

Workflow file for this run

name: Rust
on:
pull_request:
merge_group:
types: [checks_requested]
env:
CARGO_HOME: /__w/hulk/cargo
CARGO_TARGET_DIR: /__w/hulk/target
CARGO_TERM_COLOR: always
HULK_DATA_HOME: /__w/hulk/data
jobs:
check:
name: Check with clippy
runs-on:
- self-hosted
- v3
container:
image: ghcr.io/hulks/hulk-ci:1.92.0
options: --user=1000:1000
steps:
- uses: actions/checkout@v4
with:
lfs: true
- name: Check
run: ./pepsi clippy --locked . -- --deny warnings
check-cargo-lock:
name: Check Cargo.lock
strategy:
matrix:
path:
- .
# - services/aliveness
runs-on:
- self-hosted
- v3
container:
image: ghcr.io/hulks/hulk-ci:1.92.0
options: --user=1000:1000
steps:
- uses: actions/checkout@v4
with:
lfs: true
- name: Check
run: cargo update --locked --workspace --manifest-path ${{ matrix.path }}/Cargo.toml
format:
name: Format
runs-on:
- self-hosted
- v3
container:
image: ghcr.io/hulks/hulk-ci:1.92.0
options: --user=1000:1000
steps:
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
version: "0.10.9"
enable-cache: true
cache-local-path: "/__w/hulk/.uv-cache"
- uses: actions/checkout@v4
with:
lfs: true
- name: Check
run: ./pepsi fmt --check
test:
name: Test
runs-on:
- self-hosted
- v3
container:
image: ghcr.io/hulks/hulk-ci:1.92.0
options: --user=1000:1000
steps:
- uses: actions/checkout@v4
with:
lfs: true
- name: Install cargo-binstall
uses: cargo-bins/cargo-binstall@v1.20.1
with:
version: 1.20.1
- name: Install cargo-nextest
run: cargo binstall cargo-nextest --secure --no-confirm --disable-strategies compile
- name: Test
run: ./pepsi nextest
- name: Doctests
run: ./pepsi test --doc
# build:
# name: Build
# strategy:
# fail-fast: true
# matrix:
# target:
# # - imagine
# - replayer
# - mujoco
# - booster
# profile:
# # - dev
# - release
# runs-on:
# - self-hosted
# - v3
# container:
# image: ghcr.io/hulks/hulk-ci:1.92.0
# options: --user=1000:1000 --privileged --device /dev/fuse:rw
# steps:
# - uses: actions/checkout@v4
# with:
# lfs: true
# - name: Build
# run: ./pepsi build --locked --profile ${{ matrix.profile }} ${{ matrix.target }}
# build_services:
# name: Build
# strategy:
# matrix:
# service:
# - aliveness
# runs-on:
# - self-hosted
# - v3
# container:
# image: ghcr.io/hulks/hulk-ci:1.92.0
# options: --user=1000:1000 --privileged --device /dev/fuse:rw
# steps:
# - uses: actions/checkout@v4
# with:
# lfs: true
# - name: Build
# run: ./pepsi build --locked --release ${{ matrix.service }}
build_tools:
name: Build
strategy:
matrix:
tool:
# - annotato
# - depp
# - fanta
- pepsi
- twix
# - widget_gallery
runs-on:
- self-hosted
- v3
container:
image: ghcr.io/hulks/hulk-ci:1.92.0
options: --user=1000:1000
steps:
- uses: actions/checkout@v4
with:
lfs: true
- name: Build
run: ./pepsi build --locked --release ${{ matrix.tool }}
# build_mkdocs:
# name: Build mkdocs
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# with:
# lfs: true
# - name: Install mkdocs
# run: pip install mkdocs-material
# - name: Build docs
# run: mkdocs build --strict
# check-mujoco:
# name: Check Mujoco
# runs-on:
# - self-hosted
# - v3
# container:
# image: ghcr.io/hulks/hulk-ci:1.92.0
# options: --user=1000:1000
# defaults:
# run:
# working-directory: tools/machine-learning/mujoco
# shell: bash
# steps:
# - uses: actions/checkout@v4
# with:
# lfs: true
# - name: Install uv
# uses: astral-sh/setup-uv@v5
# with:
# version: "0.5.21"
# enable-cache: true
# cache-local-path: "/__w/hulk/.uv-cache"
# - name: Check
# run: |
# uv run ruff check --no-fix
# test-mujoco:
# name: Test Mujoco
# runs-on:
# - self-hosted
# - v3
# container:
# image: ghcr.io/hulks/hulk-ci:1.92.0
# options: --user=1000:1000
# defaults:
# run:
# working-directory: tools/machine-learning/mujoco
# shell: bash
# steps:
# - uses: actions/checkout@v4
# with:
# lfs: true
# - name: Install uv
# uses: astral-sh/setup-uv@v5
# with:
# version: "0.5.21"
# enable-cache: true
# cache-local-path: "/__w/hulk/.uv-cache"
# - name: Test
# run: |
# uv run pytest
# format-mujoco:
# name: Format Mujoco
# runs-on:
# - self-hosted
# - v3
# container:
# image: ghcr.io/hulks/hulk-ci:1.92.0
# options: --user=1000:1000
# defaults:
# run:
# working-directory: tools/machine-learning/mujoco
# shell: bash
# steps:
# - uses: actions/checkout@v4
# with:
# lfs: true
# - name: Install uv
# uses: astral-sh/setup-uv@v5
# with:
# version: "0.5.21"
# enable-cache: true
# cache-local-path: "/__w/hulk/.uv-cache"
# - name: Format
# run: |
# uv run ruff format --check
# check-mujoco-lock:
# name: Check Mujoco uv.lock
# runs-on:
# - self-hosted
# - v3
# container:
# image: ghcr.io/hulks/hulk-ci:1.92.0
# options: --user=1000:1000
# defaults:
# run:
# working-directory: tools/machine-learning/mujoco
# shell: bash
# steps:
# - uses: actions/checkout@v4
# with:
# lfs: true
# - name: Install uv
# uses: astral-sh/setup-uv@v5
# with:
# version: "0.5.21"
# enable-cache: true
# cache-local-path: "/__w/hulk/.uv-cache"
# - name: Check Lockfile
# run: |
# uv sync --locked