resolve the stuff what the heck man #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
NAOSDK_HOME: /__w/hulk/naosdk | ||
NAOSDK_AUTOMATIC_YES: 1 | ||
jobs: | ||
check: | ||
name: Check | ||
runs-on: | ||
- self-hosted | ||
- v3 | ||
container: | ||
image: ghcr.io/hulks/hulk-ci:1.80.0 | ||
options: --user=1000:1000 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
lfs: true | ||
- name: Check | ||
run: | | ||
./pepsi clippy --workspace | ||
check-cargo-lock: | ||
name: Check Cargo.lock | ||
strategy: | ||
matrix: | ||
path: | ||
[ | ||
., | ||
tools/aliveness, | ||
tools/hula, | ||
] | ||
runs-on: | ||
- self-hosted | ||
- v3 | ||
container: | ||
image: ghcr.io/hulks/hulk-ci:1.80.0 | ||
options: --user=1000:1000 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
lfs: true | ||
- name: Check | ||
run: | | ||
cd ${{ matrix.path }} | ||
cargo update --locked --workspace | ||
check-parameters: | ||
name: Check parameters | ||
runs-on: | ||
- self-hosted | ||
- v3 | ||
container: | ||
image: ghcr.io/hulks/hulk-ci:1.80.0 | ||
options: --user=1000:1000 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
lfs: true | ||
- name: Check | ||
run: | | ||
cargo run --manifest-path=crates/parameter_tester/Cargo.toml | ||
format: | ||
name: Format | ||
runs-on: | ||
- self-hosted | ||
- v3 | ||
container: | ||
<<<<<<< HEAD | ||
image: ghcr.io/hulks/hulk-ci:1.78.0 | ||
||||||| parent of 6aacf9c6c (Use rust 1.80 CI image) | ||
image: 134.28.57.223:5000/hulk:1.78.0 | ||
======= | ||
image: 134.28.57.223:5000/hulk:1.80.0 | ||
>>>>>>> 6aacf9c6c (Use rust 1.80 CI image) | ||
options: --user=1000:1000 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
lfs: true | ||
- name: Check | ||
run: | | ||
cargo fmt --check | ||
test: | ||
name: Test | ||
runs-on: | ||
- self-hosted | ||
- v3 | ||
container: | ||
<<<<<<< HEAD | ||
image: ghcr.io/hulks/hulk-ci:1.78.0 | ||
||||||| parent of 6aacf9c6c (Use rust 1.80 CI image) | ||
image: 134.28.57.223:5000/hulk:1.78.0 | ||
======= | ||
image: 134.28.57.223:5000/hulk:1.80.0 | ||
>>>>>>> 6aacf9c6c (Use rust 1.80 CI image) | ||
options: --user=1000:1000 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
lfs: true | ||
- name: Test | ||
run: | | ||
cargo test --all-features --workspace | ||
build: | ||
name: Build | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
target: [behavior_simulator, imagine, nao, replayer, webots] | ||
profile: [release, dev] | ||
runs-on: | ||
- self-hosted | ||
- v3 | ||
container: | ||
<<<<<<< HEAD | ||
image: ghcr.io/hulks/hulk-ci:1.78.0 | ||
||||||| parent of 6aacf9c6c (Use rust 1.80 CI image) | ||
image: 134.28.57.223:5000/hulk:1.78.0 | ||
======= | ||
image: 134.28.57.223:5000/hulk:1.80.0 | ||
>>>>>>> 6aacf9c6c (Use rust 1.80 CI image) | ||
options: --user=1000:1000 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
lfs: true | ||
- name: Build | ||
run: | | ||
./pepsi build --target ${{ matrix.target }} --profile ${{ matrix.profile }} | ||
build_tools: | ||
name: Build | ||
strategy: | ||
matrix: | ||
path: | ||
[ | ||
aliveness, | ||
annotato, | ||
camera_matrix_extractor, | ||
depp, | ||
fanta, | ||
hula, | ||
pepsi, | ||
twix, | ||
] | ||
runs-on: | ||
- self-hosted | ||
- v3 | ||
container: | ||
<<<<<<< HEAD | ||
image: ghcr.io/hulks/hulk-ci:1.78.0 | ||
||||||| parent of 6aacf9c6c (Use rust 1.80 CI image) | ||
image: 134.28.57.223:5000/hulk:1.78.0 | ||
======= | ||
image: 134.28.57.223:5000/hulk:1.80.0 | ||
>>>>>>> 6aacf9c6c (Use rust 1.80 CI image) | ||
options: --user=1000:1000 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
lfs: true | ||
- name: Build | ||
run: | | ||
cd tools/${{ matrix.path }} | ||
cargo build --release |