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:
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
|
||||
Reference in New Issue
Block a user