Add build linux on Azure

This commit is contained in:
Federico Terzi 2019-09-21 11:48:18 +02:00
parent 96d6b7375c
commit 2618708621
2 changed files with 5 additions and 2 deletions

View File

@ -14,8 +14,9 @@ jobs:
- script: |
sudo apt -y update
sudo apt install -y libxtst-dev libx11-dev libxdo3 libxdo-dev
displayName: Install library dependencies
- template: ci/test.yml
- script: ci/build-linux.yml
- template: ci/build-linux.yml
# - template: ci/deploy.yml
# - job: macOS

View File

@ -4,4 +4,6 @@ steps:
VER=$(cat Cargo.toml| grep version -m 1 | awk -F '"' '{ print $2 }')
cd target/release/
tar czf "espanso-linux-$VER.tar.gz" espanso
displayName: Cargo build and packaging
cd ../..
cp target/release/espanso-linux-*.gz .
displayName: "Cargo build and packaging"