Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload source distribution #1586

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
83 changes: 51 additions & 32 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ env:
CARGO_HOME: /__w/hulk/cargo
CARGO_TARGET_DIR: /__w/hulk/target
CARGO_TERM_COLOR: always
NAOSDK_HOME: /__w/hulk/naosdk
HULK_DATA_HOME: /__w/hulk/data
NAOSDK_AUTOMATIC_YES: 1

jobs:
check:
name: Check
name: Check with clippy
runs-on:
- self-hosted
- v3
Expand All @@ -24,14 +24,17 @@ jobs:
with:
lfs: true
- name: Check
run: |
./pepsi clippy --workspace
run: ./pepsi clippy

check-cargo-lock:
name: Check Cargo.lock
strategy:
matrix:
path: [., tools/aliveness, tools/hula]
path:
- .
- services/aliveness
- services/breeze
- services/hula
runs-on:
- self-hosted
- v3
Expand All @@ -43,9 +46,7 @@ jobs:
with:
lfs: true
- name: Check
run: |
cd ${{ matrix.path }}
cargo update --locked --workspace
run: cargo update --locked --manifest-path ${{ matrix.path }}/Cargo.toml

check-parameters:
name: Check parameters
Expand All @@ -60,8 +61,7 @@ jobs:
with:
lfs: true
- name: Check
run: |
cargo run --manifest-path=crates/parameter_tester/Cargo.toml
run: ./pepsi run parameter_tester

format:
name: Format
Expand All @@ -76,8 +76,7 @@ jobs:
with:
lfs: true
- name: Check
run: |
cargo fmt --check
run: cargo fmt --check

format-toml:
name: Format TOML files
Expand Down Expand Up @@ -108,16 +107,21 @@ jobs:
with:
lfs: true
- name: Test
run: |
cargo test --profile incremental --all-features --workspace
run: ./pepsi test --all-features

build:
name: Build
strategy:
fail-fast: true
matrix:
target: [imagine, nao, replayer, webots]
profile: [release, dev]
target:
- imagine
- nao
- replayer
- webots
profile:
- dev
- release
runs-on:
- self-hosted
- v3
Expand All @@ -129,24 +133,41 @@ jobs:
with:
lfs: true
- name: Build
run: |
./pepsi build --target ${{ matrix.target }} --profile ${{ matrix.profile }}
run: ./pepsi build --profile ${{ matrix.profile }} ${{ matrix.target }}

build_services:
name: Build
strategy:
matrix:
service:
- aliveness
- breeze
- hula
runs-on:
- self-hosted
- v3
container:
image: ghcr.io/hulks/hulk-ci:1.81.0
options: --user=1000:1000
steps:
- uses: actions/checkout@v4
with:
lfs: true
- name: Build
run: ./pepsi build --release ${{ matrix.service }}

build_tools:
name: Build
strategy:
matrix:
path:
[
aliveness,
annotato,
camera_matrix_extractor,
depp,
fanta,
hula,
pepsi,
twix,
]
tool:
- annotato
- camera_matrix_extractor
- depp
- fanta
- pepsi
- twix
- widget_gallery
runs-on:
- self-hosted
- v3
Expand All @@ -158,9 +179,7 @@ jobs:
with:
lfs: true
- name: Build
run: |
cd tools/${{ matrix.path }}
cargo build --release
run: ./pepsi build --release ${{ matrix.tool }}

build_mkdocs:
name: Build mkdocs
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
/.wiki/

settings.json
/naosdk

*.edited
*~
Expand Down
Loading