2024-06-07 23:01:23 +05:30
|
|
|
steps:
|
|
|
|
test:
|
2023-01-02 17:47:31 +05:30
|
|
|
image: rust
|
|
|
|
commands:
|
|
|
|
- rustup component add rustfmt
|
|
|
|
- rustup component add clippy
|
|
|
|
- make lint
|
|
|
|
- make test
|
|
|
|
- make doc
|
2024-06-07 23:01:23 +05:30
|
|
|
deploy_docs:
|
|
|
|
image: rust
|
|
|
|
when:
|
|
|
|
branch: master
|
|
|
|
event: [push, tag, deployment]
|
|
|
|
commands:
|
|
|
|
- apt update && apt-get -y --no-install-recommends install tar gpg curl wget git
|
2023-01-02 17:47:31 +05:30
|
|
|
- make ci-deploy
|
|
|
|
secrets: [ GITEA_WRITE_DEPLOY_KEY, LIBREPAGES_DEPLOY_SECRET ]
|