mouse/.drone.yml
Jochen maes 6114984f13
Some checks reported errors
continuous-integration/drone/push Build encountered an error
adds publish
Signed-off-by: Jochen maes <jochen@sejo-it.be>
2023-10-21 11:04:39 +02:00

44 lines
670 B
YAML

---
kind: pipeline
type: docker
name: mouse-amd64
platform:
arch: amd64
steps:
- name: test
image: rust:1.73
commands:
- cargo test
- name: compile
image: rust:1.73
commands:
- cargo build --target x86_64-unknown-linux-gnu
---
kind: pipeline
type: docker
name: mouse-arm64
platform:
arch: arm64
steps:
- name: test
image: rust:1.73
commands:
- cargo test
- name: compile
image: rust:1.73
commands:
- cargo build --target aarch64-unknown-linux-gnu
- name:
image: rust:1.73
environment:
TOKEN:
from_secret: gitea_token
- cargo publish --registry gita --token $TOKEN