2019-09-21 08:40:42 +00:00
|
|
|
# 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
|
|
|
|
2020-02-03 17:18:42 +00:00
|
|
|
- job: UbuntuDEB
|
|
|
|
pool:
|
|
|
|
vmImage: 'ubuntu-latest'
|
|
|
|
steps:
|
|
|
|
- script: |
|
2020-02-03 17:30:58 +00:00
|
|
|
sudo docker build -t espanso-ubuntu . -f ci/ubuntu/Dockerfile
|
2020-02-03 17:37:58 +00:00
|
|
|
sudo docker run --rm -v "$(pwd):/shared" espanso-ubuntu espanso/ci/ubuntu/build_deb.sh
|
2020-02-03 17:18:42 +00:00
|
|
|
displayName: Setting up docker
|
|
|
|
- template: ci/deploy.yml
|
|
|
|
|
2019-09-21 11:09:24 +00:00
|
|
|
- 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
|
2019-09-21 11:09:24 +00:00
|
|
|
|
|
|
|
- job: Windows
|
|
|
|
pool:
|
2019-09-21 11:23:45 +00:00
|
|
|
vmImage: 'windows-2019'
|
2019-09-21 11:09:24 +00:00
|
|
|
steps:
|
|
|
|
- template: ci/test.yml
|
|
|
|
- template: ci/build-win.yml
|
|
|
|
- template: ci/deploy.yml
|