Added dropbox link #137
Workflow file for this run
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: | |
push: | |
branches: | |
- gh-readonly-queue/main/** | |
pull_request: | |
jobs: | |
required_checks: | |
name: Require all CI jobs | |
runs-on: | |
- self-hosted | |
needs: | |
- check | |
- format | |
- test | |
- build | |
- build_subprojects | |
- build_aliveness | |
- build_hula | |
steps: | |
- name: Status message | |
run: echo 'All other jobs exited successfully!' | |
check: | |
name: Check | |
runs-on: | |
- self-hosted | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
lfs: true | |
- name: Check | |
run: | | |
./pepsi clippy --workspace | |
format: | |
name: Format | |
runs-on: | |
- self-hosted | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
lfs: true | |
- name: Check | |
run: | | |
cargo fmt --check | |
test: | |
name: Test | |
runs-on: | |
- self-hosted | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
lfs: true | |
- name: Test | |
run: | | |
cargo test --all-features --workspace | |
build: | |
name: Build | |
strategy: | |
fail-fast: true | |
matrix: | |
target: [nao, webots] | |
profile: [release, dev] | |
runs-on: | |
- self-hosted | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
lfs: true | |
- name: Build | |
run: | | |
ln -s /ci/.naosdk naosdk | |
./pepsi build --target ${{ matrix.target }} --profile ${{ matrix.profile }} --no-sdk-installation | |
build_subprojects: | |
name: Build | |
strategy: | |
matrix: | |
path: | |
[ | |
tools/camera_matrix_extractor, | |
tools/depp, | |
tools/fanta, | |
tools/pepsi, | |
tools/twix, | |
] | |
runs-on: | |
- self-hosted | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
lfs: true | |
- name: Build | |
run: | | |
cd ${{ matrix.path }} | |
cargo build --all-features | |
build_aliveness: | |
name: Build Aliveness | |
runs-on: | |
- self-hosted | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
lfs: true | |
- name: Build Aliveness | |
run: | | |
cd tools/aliveness | |
cargo build --release | |
build_hula: | |
name: Build HuLA | |
runs-on: | |
- self-hosted | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
lfs: true | |
- name: Build HuLA | |
run: | | |
cd tools/hula | |
cargo build --release |