Limit Gitea workflow build scope
Some checks failed
Native code generation / deterministic (push) Successful in 8m55s
Imaging and meshing gate / native (push) Failing after 2m32s
JPEG 2000 feature / linux (push) Successful in 1m39s
Skia feature / linux (push) Has been cancelled
Native Rust workspace compile / compile (push) Has been cancelled
Some checks failed
Native code generation / deterministic (push) Successful in 8m55s
Imaging and meshing gate / native (push) Failing after 2m32s
JPEG 2000 feature / linux (push) Successful in 1m39s
Skia feature / linux (push) Has been cancelled
Native Rust workspace compile / compile (push) Has been cancelled
This commit is contained in:
@@ -2,13 +2,56 @@ name: Native code generation
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
paths:
|
||||||
|
- ".gitea/workflows/codegen.yml"
|
||||||
|
- "Cargo.toml"
|
||||||
|
- "Cargo.lock"
|
||||||
|
- "api/**"
|
||||||
|
- "codegen/**"
|
||||||
|
- "tools/codegen/**"
|
||||||
|
- "tools/generate_*.py"
|
||||||
|
- "tools/check_api_coverage.py"
|
||||||
|
- "tools/check_codegen_gate.py"
|
||||||
|
- "crates/libremetaverse/Cargo.toml"
|
||||||
|
- "crates/libremetaverse/src/generated.rs"
|
||||||
|
- "crates/libremetaverse/src/packets.rs"
|
||||||
|
- "crates/libremetaverse/src/packet_*.rs"
|
||||||
|
- "crates/libremetaverse/src/*_catalog.rs"
|
||||||
|
- "tests/api-compile/**"
|
||||||
|
- "tests/compat/Cargo.toml"
|
||||||
|
- "tests/compat/build.rs"
|
||||||
|
- "tests/compat/src/**"
|
||||||
|
- "tests/compat/tests/wire_semantics.rs"
|
||||||
|
- "tests/compat/tests/appearance_visual_semantics.rs"
|
||||||
|
- "tests/upstream-tests.json"
|
||||||
pull_request:
|
pull_request:
|
||||||
|
paths:
|
||||||
|
- ".gitea/workflows/codegen.yml"
|
||||||
|
- "Cargo.toml"
|
||||||
|
- "Cargo.lock"
|
||||||
|
- "api/**"
|
||||||
|
- "codegen/**"
|
||||||
|
- "tools/codegen/**"
|
||||||
|
- "tools/generate_*.py"
|
||||||
|
- "tools/check_api_coverage.py"
|
||||||
|
- "tools/check_codegen_gate.py"
|
||||||
|
- "crates/libremetaverse/Cargo.toml"
|
||||||
|
- "crates/libremetaverse/src/generated.rs"
|
||||||
|
- "crates/libremetaverse/src/packets.rs"
|
||||||
|
- "crates/libremetaverse/src/packet_*.rs"
|
||||||
|
- "crates/libremetaverse/src/*_catalog.rs"
|
||||||
|
- "tests/api-compile/**"
|
||||||
|
- "tests/compat/Cargo.toml"
|
||||||
|
- "tests/compat/build.rs"
|
||||||
|
- "tests/compat/src/**"
|
||||||
|
- "tests/compat/tests/wire_semantics.rs"
|
||||||
|
- "tests/compat/tests/appearance_visual_semantics.rs"
|
||||||
|
- "tests/upstream-tests.json"
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deterministic:
|
deterministic:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
|
||||||
CARGO_BUILD_JOBS: "1"
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: dtolnay/rust-toolchain@stable
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
@@ -47,6 +90,6 @@ jobs:
|
|||||||
- name: Lint native generator
|
- name: Lint native generator
|
||||||
run: |
|
run: |
|
||||||
cargo clippy -p libremetaverse-codegen --all-targets -- -D warnings
|
cargo clippy -p libremetaverse-codegen --all-targets -- -D warnings
|
||||||
cargo clippy -p libremetaverse --all-targets --no-deps -- -D warnings
|
cargo clippy -p libremetaverse --lib --no-deps -- -D warnings
|
||||||
- name: Prove normal consumer build does not execute generation
|
- name: Prove normal consumer build does not execute generation
|
||||||
run: cargo build -p libremetaverse --locked
|
run: cargo build -p libremetaverse --locked
|
||||||
|
|||||||
@@ -2,7 +2,46 @@ name: Imaging and meshing gate
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
paths:
|
||||||
|
- ".gitea/workflows/imaging-meshing.yml"
|
||||||
|
- "Cargo.toml"
|
||||||
|
- "Cargo.lock"
|
||||||
|
- "crates/libremetaverse/Cargo.toml"
|
||||||
|
- "crates/libremetaverse/src/generated.rs"
|
||||||
|
- "crates/libremetaverse/src/skeleton.rs"
|
||||||
|
- "crates/libremetaverse/src/*_catalog.rs"
|
||||||
|
- "crates/libremetaverse-types/**"
|
||||||
|
- "crates/libremetaverse-imaging/**"
|
||||||
|
- "crates/libremetaverse-imaging-skia/**"
|
||||||
|
- "crates/libremetaverse-prim-mesher/**"
|
||||||
|
- "crates/libremetaverse-rendering-mesh-foundry/**"
|
||||||
|
- "tests/compat/Cargo.toml"
|
||||||
|
- "tests/compat/build.rs"
|
||||||
|
- "tests/compat/src/**"
|
||||||
|
- "tests/compat/tests/imaging_meshing_semantics.rs"
|
||||||
|
- "tests/upstream-tests.json"
|
||||||
|
- "tools/check_milestone_06.py"
|
||||||
pull_request:
|
pull_request:
|
||||||
|
paths:
|
||||||
|
- ".gitea/workflows/imaging-meshing.yml"
|
||||||
|
- "Cargo.toml"
|
||||||
|
- "Cargo.lock"
|
||||||
|
- "crates/libremetaverse/Cargo.toml"
|
||||||
|
- "crates/libremetaverse/src/generated.rs"
|
||||||
|
- "crates/libremetaverse/src/skeleton.rs"
|
||||||
|
- "crates/libremetaverse/src/*_catalog.rs"
|
||||||
|
- "crates/libremetaverse-types/**"
|
||||||
|
- "crates/libremetaverse-imaging/**"
|
||||||
|
- "crates/libremetaverse-imaging-skia/**"
|
||||||
|
- "crates/libremetaverse-prim-mesher/**"
|
||||||
|
- "crates/libremetaverse-rendering-mesh-foundry/**"
|
||||||
|
- "tests/compat/Cargo.toml"
|
||||||
|
- "tests/compat/build.rs"
|
||||||
|
- "tests/compat/src/**"
|
||||||
|
- "tests/compat/tests/imaging_meshing_semantics.rs"
|
||||||
|
- "tests/upstream-tests.json"
|
||||||
|
- "tools/check_milestone_06.py"
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
native:
|
native:
|
||||||
@@ -30,11 +69,10 @@ jobs:
|
|||||||
cargo test -p libremetaverse-compat-tests --test imaging_meshing_semantics reviewed_coordtests_
|
cargo test -p libremetaverse-compat-tests --test imaging_meshing_semantics reviewed_coordtests_
|
||||||
cargo test -p libremetaverse-compat-tests --test imaging_meshing_semantics reviewed_quattests_
|
cargo test -p libremetaverse-compat-tests --test imaging_meshing_semantics reviewed_quattests_
|
||||||
cargo test -p libremetaverse-compat-tests --test imaging_meshing_semantics reviewed_primmeshtests_
|
cargo test -p libremetaverse-compat-tests --test imaging_meshing_semantics reviewed_primmeshtests_
|
||||||
- name: Compile workspace tests and performance baselines
|
- name: Compile performance baselines
|
||||||
run: |
|
run: |
|
||||||
cargo test --workspace --no-run
|
cargo bench -p libremetaverse-imaging --bench image_pipeline --no-run -j 1
|
||||||
cargo bench -p libremetaverse-imaging --bench image_pipeline --no-run
|
cargo bench -p libremetaverse-prim-mesher --bench meshing --no-run -j 1
|
||||||
cargo bench -p libremetaverse-prim-mesher --bench meshing --no-run
|
|
||||||
- name: Lint and document milestone crates
|
- name: Lint and document milestone crates
|
||||||
run: |
|
run: |
|
||||||
cargo clippy -p libremetaverse-imaging -p libremetaverse-imaging-skia -p libremetaverse-prim-mesher --all-targets -- -D warnings
|
cargo clippy -p libremetaverse-imaging -p libremetaverse-imaging-skia -p libremetaverse-prim-mesher --all-targets -- -D warnings
|
||||||
|
|||||||
@@ -2,7 +2,24 @@ name: JPEG 2000 feature
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
paths:
|
||||||
|
- ".gitea/workflows/jpeg2000.yml"
|
||||||
|
- "Cargo.toml"
|
||||||
|
- "Cargo.lock"
|
||||||
|
- "crates/libremetaverse/Cargo.toml"
|
||||||
|
- "crates/libremetaverse-types/**"
|
||||||
|
- "crates/libremetaverse-imaging/**"
|
||||||
|
- "crates/libremetaverse-openjpeg/**"
|
||||||
pull_request:
|
pull_request:
|
||||||
|
paths:
|
||||||
|
- ".gitea/workflows/jpeg2000.yml"
|
||||||
|
- "Cargo.toml"
|
||||||
|
- "Cargo.lock"
|
||||||
|
- "crates/libremetaverse/Cargo.toml"
|
||||||
|
- "crates/libremetaverse-types/**"
|
||||||
|
- "crates/libremetaverse-imaging/**"
|
||||||
|
- "crates/libremetaverse-openjpeg/**"
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
linux:
|
linux:
|
||||||
|
|||||||
29
.gitea/workflows/rust-workspace.yml
Normal file
29
.gitea/workflows/rust-workspace.yml
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
name: Native Rust workspace compile
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths:
|
||||||
|
- ".gitea/workflows/rust-workspace.yml"
|
||||||
|
- "**/*.rs"
|
||||||
|
- "**/Cargo.toml"
|
||||||
|
- "Cargo.lock"
|
||||||
|
pull_request:
|
||||||
|
paths:
|
||||||
|
- ".gitea/workflows/rust-workspace.yml"
|
||||||
|
- "**/*.rs"
|
||||||
|
- "**/Cargo.toml"
|
||||||
|
- "Cargo.lock"
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
compile:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
|
with:
|
||||||
|
components: rustfmt
|
||||||
|
- name: Check formatting
|
||||||
|
run: cargo fmt --all -- --check
|
||||||
|
- name: Compile every workspace target with bounded memory
|
||||||
|
run: cargo check --workspace --all-targets --locked -j 1
|
||||||
@@ -2,7 +2,22 @@ name: Skia feature
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
paths:
|
||||||
|
- ".gitea/workflows/skia.yml"
|
||||||
|
- "Cargo.toml"
|
||||||
|
- "Cargo.lock"
|
||||||
|
- "crates/libremetaverse-types/**"
|
||||||
|
- "crates/libremetaverse-imaging/**"
|
||||||
|
- "crates/libremetaverse-imaging-skia/**"
|
||||||
pull_request:
|
pull_request:
|
||||||
|
paths:
|
||||||
|
- ".gitea/workflows/skia.yml"
|
||||||
|
- "Cargo.toml"
|
||||||
|
- "Cargo.lock"
|
||||||
|
- "crates/libremetaverse-types/**"
|
||||||
|
- "crates/libremetaverse-imaging/**"
|
||||||
|
- "crates/libremetaverse-imaging-skia/**"
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
linux:
|
linux:
|
||||||
|
|||||||
Reference in New Issue
Block a user