2019-06-24 14:43:36 +03:00
|
|
|
jobs:
|
|
|
|
- job: LinuxBuild
|
|
|
|
pool:
|
|
|
|
vmImage: 'ubuntu-16.04'
|
|
|
|
displayName: "V Linux Build"
|
|
|
|
steps:
|
|
|
|
- script: |
|
2019-06-27 02:30:40 +03:00
|
|
|
sudo apt install -y libglfw3 libglfw3-dev libfreetype6-dev libcurl3-dev
|
2019-06-24 14:43:36 +03:00
|
|
|
displayName: 'Install Dependencies'
|
|
|
|
- script: |
|
2019-06-29 14:04:59 +03:00
|
|
|
make
|
2019-06-24 14:43:36 +03:00
|
|
|
displayName: 'Build V'
|
2019-06-26 21:59:14 +03:00
|
|
|
- script: |
|
2019-06-29 14:04:59 +03:00
|
|
|
make test
|
2019-06-26 21:59:14 +03:00
|
|
|
displayName: 'Run Tests'
|
2019-06-24 14:43:36 +03:00
|
|
|
- job: WindowsBuild
|
|
|
|
pool:
|
|
|
|
vmImage: 'vs2017-win2016'
|
|
|
|
displayName: "V Windows Build"
|
|
|
|
- job: OSXBuild
|
|
|
|
pool:
|
|
|
|
vmImage: 'macOS-10.13'
|
|
|
|
displayName: "V MacOSX Build"
|
|
|
|
steps:
|
|
|
|
- script: |
|
2019-06-27 02:37:12 +03:00
|
|
|
brew install glfw freetype curl
|
2019-06-24 14:43:36 +03:00
|
|
|
displayName: 'Install Dependencies'
|
|
|
|
- script: |
|
2019-06-29 14:04:59 +03:00
|
|
|
make && make test
|
2019-06-24 14:43:36 +03:00
|
|
|
displayName: 'Build V'
|
2019-06-27 17:39:44 +03:00
|
|
|
trigger:
|
|
|
|
branches:
|
|
|
|
include:
|
|
|
|
- '*'
|
|
|
|
pr:
|
|
|
|
autoCancel: false
|
|
|
|
branches:
|
|
|
|
include:
|
|
|
|
- '*'
|