mirror of
https://codeberg.org/Codeberg-CI/examples.git
synced 2025-09-09 11:54:55 -04:00
Add a Rust example
This commit is contained in:
parent
51fc52272e
commit
ce91c66168
@ -14,7 +14,9 @@ Pull requests are accepted/welcome.
|
||||
| [Hugo/hugo.yml](Hugo/hugo.yml) | Markdown | Hugo | CI step to build static website files and publish them to Codeberg Pages with Hugo |
|
||||
| [Docker/kaniko.yml](Docker/kaniko.yml) | Dockerfile | [Kaniko][1] | Minimalistic CI pipeline with clear instructions to push a Docker image |
|
||||
| [Docker/buildx.yml](Docker/buildx.yml) | Dockerfile | [buildx][2] | Build and publish Docker images for multiple architectures on codeberg |
|
||||
|[Python/.woodpecker.yml](Python)| Python | Python venv| Standard CI pipeline to test Python packages code on multiple Python distributions. For details check [serial-sphinx](https://codeberg.org/sail.black/serial-sphinx.git)|
|
||||
| [Python/.woodpecker.yml](Python) | Python | Python venv | Standard CI pipeline to test Python packages code on multiple Python distributions. For details check [serial-sphinx](https://codeberg.org/sail.black/serial-sphinx.git) |
|
||||
| [Rust/.woodpecker.yml](Rust) | Rust | cargo | Simple CI pipeline to run cargo commands |
|
||||
|
||||
# More:
|
||||
https://codeberg.org/explore/repos?q=woodpecker-ci&topic=1
|
||||
|
||||
|
11
Rust/.woodpecker.yml
Normal file
11
Rust/.woodpecker.yml
Normal file
@ -0,0 +1,11 @@
|
||||
matrix:
|
||||
RUST: [stable, beta, nightly]
|
||||
|
||||
pipeline:
|
||||
test:
|
||||
image: rust
|
||||
environment: [CARGO_TERM_COLOR=always]
|
||||
commands:
|
||||
- rustup default $RUST
|
||||
- cargo check
|
||||
- cargo test
|
Loading…
x
Reference in New Issue
Block a user