This repository has been archived by the owner on Sep 21, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
azure-pipelines.yml
65 lines (57 loc) · 1.69 KB
/
azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# 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
jobs:
- job: Linux
pool:
vmImage: 'Ubuntu 16.04'
timeoutInMinutes: 0
steps:
- script: |
./build-linux-tgz.sh
cp FRC-*-Linux*.tar.gz $BUILD_ARTIFACTSTAGINGDIRECTORY
displayName: 'Build the image'
- task: PublishBuildArtifacts@1
inputs:
artifactName: 'LinuxCompiler'
- job: UbuntuPackages
pool:
vmImage: 'Ubuntu 16.04'
timeoutInMinutes: 0
steps:
- script: |
./build-ubuntu-pkg.sh
cp *.deb $BUILD_ARTIFACTSTAGINGDIRECTORY
displayName: 'Build the image'
- task: PublishBuildArtifacts@1
inputs:
artifactName: 'UbuntuPackagedCompiler'
- job: Windows
pool:
vmImage: 'Ubuntu 16.04'
timeoutInMinutes: 0
steps:
- script: |
./build-windows.sh
cp FRC-*-Windows*.zip $BUILD_ARTIFACTSTAGINGDIRECTORY
displayName: 'Build the image'
- task: PublishBuildArtifacts@1
inputs:
artifactName: 'WindowsCompiler'
- job: Mac
pool:
vmImage: 'xcode9-macos10.13'
timeoutInMinutes: 0
steps:
- script: |
curl -O http://s.sudre.free.fr/Software/files/Iceberg.dmg
sudo hdiutil attach Iceberg.dmg
sudo installer -pkg "/Volumes/Iceberg 1.3.1/Iceberg.mpkg" -target /
sudo hdiutil detach "/Volumes/Iceberg 1.3.1"
./build-mac.sh
gcp mac/*Toolchain*.tar.gz $BUILD_ARTIFACTSTAGINGDIRECTORY
displayName: 'Build the image'
- task: PublishBuildArtifacts@1
inputs:
artifactName: 'MacCompiler'