espanso/azure-pipelines.yml

47 lines
1.2 KiB
YAML
Raw Normal View History

# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml
trigger:
- master
2019-09-21 09:05:57 +00:00
jobs:
- job: Linux
pool:
vmImage: 'ubuntu-latest'
steps:
2019-09-21 09:12:46 +00:00
- script: |
sudo apt -y update
sudo apt install -y libxtst-dev libx11-dev libxdo3 libxdo-dev
2019-09-21 09:48:18 +00:00
displayName: Install library dependencies
2019-09-21 09:43:17 +00:00
- template: ci/test.yml
2019-09-21 09:48:18 +00:00
- template: ci/build-linux.yml
2019-09-21 10:08:31 +00:00
- template: ci/deploy.yml
2019-09-21 09:05:57 +00:00
- job: UbuntuDEB
pool:
vmImage: 'ubuntu-latest'
steps:
- script: |
sudo docker build -t espanso-ubuntu . -f ci/ubuntu/Dockerfile
sudo docker run --rm -v "$(pwd):/shared" espanso-ubuntu espanso/ci/ubuntu/build_deb.sh
displayName: Setting up docker
- template: ci/deploy.yml
- job: macOS
pool:
vmImage: 'macOS-10.14'
steps:
- template: ci/test.yml
- template: ci/build-macos.yml
- template: ci/deploy.yml
2019-09-21 16:59:29 +00:00
- template: ci/publish-homebrew.yml
- job: Windows
pool:
2019-09-21 11:23:45 +00:00
vmImage: 'windows-2019'
steps:
- template: ci/test.yml
- template: ci/build-win.yml
- template: ci/deploy.yml