2019-06-24 13:43:36 +02:00
|
|
|
jobs:
|
|
|
|
- job: LinuxBuild
|
|
|
|
pool:
|
|
|
|
vmImage: 'ubuntu-16.04'
|
|
|
|
displayName: "V Linux Build"
|
|
|
|
steps:
|
|
|
|
- script: |
|
2019-06-27 01:30:40 +02:00
|
|
|
sudo apt install -y libglfw3 libglfw3-dev libfreetype6-dev libcurl3-dev
|
2019-06-24 13:43:36 +02:00
|
|
|
displayName: 'Install Dependencies'
|
|
|
|
- script: |
|
2019-06-29 13:04:59 +02:00
|
|
|
make
|
2019-06-24 13:43:36 +02:00
|
|
|
displayName: 'Build V'
|
2019-06-26 20:59:14 +02:00
|
|
|
- script: |
|
2019-06-29 13:04:59 +02:00
|
|
|
make test
|
2019-06-26 20:59:14 +02:00
|
|
|
displayName: 'Run Tests'
|
2019-06-24 13:43:36 +02: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 01:37:12 +02:00
|
|
|
brew install glfw freetype curl
|
2019-06-24 13:43:36 +02:00
|
|
|
displayName: 'Install Dependencies'
|
|
|
|
- script: |
|
2019-06-29 13:04:59 +02:00
|
|
|
make && make test
|
2019-06-24 13:43:36 +02:00
|
|
|
displayName: 'Build V'
|
2019-06-27 16:39:44 +02:00
|
|
|
trigger:
|
|
|
|
branches:
|
|
|
|
include:
|
|
|
|
- '*'
|
|
|
|
pr:
|
|
|
|
autoCancel: false
|
|
|
|
branches:
|
|
|
|
include:
|
|
|
|
- '*'
|