2019-09-21 11:09:24 +00:00
|
|
|
steps:
|
|
|
|
- task: UsePythonVersion@0
|
|
|
|
inputs:
|
2019-09-21 11:23:45 +00:00
|
|
|
versionSpec: '3.7.4'
|
2019-09-21 11:09:24 +00:00
|
|
|
addToPath: true
|
|
|
|
|
|
|
|
- script: |
|
2019-09-21 11:23:45 +00:00
|
|
|
python --version
|
2019-09-21 11:09:24 +00:00
|
|
|
python -m pip install toml click
|
|
|
|
displayName: Installing python dependencies
|
|
|
|
|
|
|
|
- script: |
|
2019-09-21 11:23:45 +00:00
|
|
|
set -e
|
2019-09-21 11:09:24 +00:00
|
|
|
python packager.py build
|
|
|
|
cp target/release/espanso-*.gz .
|
|
|
|
ls -la
|
|
|
|
displayName: "Cargo build and packaging for MacOS"
|