kroz-rs/.drone.yml
Alex Page 88a7fa7464
All checks were successful
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is passing
Add checksums to CI releases
2022-01-27 19:32:29 -05:00

31 lines
884 B
YAML

kind: pipeline
name: default
steps:
- name: build
image: rust
commands:
- apt-get update
- apt-get install -y libasound2-dev g++-mingw-w64-x86-64
- rustup target add x86_64-pc-windows-gnu
- rustup toolchain install stable-x86_64-pc-windows-gnu
- cargo build --release --verbose --all
- cargo build --release --verbose --all --target x86_64-pc-windows-gnu
- mv target/release/kroz target/kroz_linux_x86_64
- mv target/x86_64-pc-windows-gnu/release/kroz.exe target/kroz_win_x86_64.exe
- name: release
image: plugins/gitea-release
settings:
base_url: https://git.valter.cat
api_key:
from_secret: gitea_token
files:
- target/kroz_linux_x86_64
- target/kroz_win_x86_64.exe
checksum:
- md5
- sha1
prerelease: true
when:
event:
- tag