espanso/ci/build-linux.yml

18 lines
596 B
YAML
Raw Normal View History

2019-09-21 09:43:17 +00:00
steps:
- script: |
cargo build --release
cd target/release/
2019-09-21 10:54:19 +00:00
tar czf "espanso-linux.tar.gz" espanso
2019-09-21 09:48:18 +00:00
cd ../..
cp target/release/espanso-*.gz .
sha256sum espanso-*.gz | awk '{ print $1 }' > espanso-linux-sha256.txt
2019-09-21 10:17:47 +00:00
ls -la
2020-01-26 21:13:07 +00:00
displayName: "Cargo build and packaging for Linux"
- script: |
cargo install cargo-deb
cargo deb
cp target/release/debian/espanso*amd64.deb espanso-debian-amd64.deb
sha256sum espanso-*amd64.deb | awk '{ print $1 }' > espanso-debian-amd64-sha256.txt
ls -la
displayName: "Packaging deb package"