mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
40 lines
926 B
YAML
40 lines
926 B
YAML
jobs:
|
|
- job: LinuxBuild
|
|
pool:
|
|
vmImage: 'ubuntu-16.04'
|
|
displayName: "V Linux Build"
|
|
steps:
|
|
- script: |
|
|
sudo apt install -y libglfw3 libglfw3-dev libfreetype6-dev libcurl3-dev
|
|
displayName: 'Install Dependencies'
|
|
- script: |
|
|
cd compiler && make
|
|
displayName: 'Build V'
|
|
- script: |
|
|
cd compiler && make test
|
|
displayName: 'Run Tests'
|
|
- job: WindowsBuild
|
|
pool:
|
|
vmImage: 'vs2017-win2016'
|
|
displayName: "V Windows Build"
|
|
- job: OSXBuild
|
|
pool:
|
|
vmImage: 'macOS-10.13'
|
|
displayName: "V MacOSX Build"
|
|
steps:
|
|
- script: |
|
|
brew install glfw freetype curl
|
|
displayName: 'Install Dependencies'
|
|
- script: |
|
|
cd compiler && make && make test
|
|
displayName: 'Build V'
|
|
trigger:
|
|
branches:
|
|
include:
|
|
- '*'
|
|
pr:
|
|
autoCancel: false
|
|
branches:
|
|
include:
|
|
- '*'
|