1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/azure-pipelines.yml

40 lines
926 B
YAML
Raw Normal View History

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-27 02:30:40 +03:00
cd compiler && make
2019-06-24 14:43:36 +03:00
displayName: 'Build V'
2019-06-26 21:59:14 +03:00
- script: |
2019-06-27 02:32:39 +03:00
cd compiler && 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-26 21:54:47 +03:00
cd compiler && 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:
- '*'