forked from sonic-net/sonic-linux-kernel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
36 lines (31 loc) · 979 Bytes
/
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
# C/C++ with GCC
# Build your C/C++ project with GCC using make.
# Add steps that publish test results, save build artifacts, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/apps/c-cpp/gcc
trigger:
branches:
include:
- "*"
stages:
- stage: Build
jobs:
- template: .azure-pipelines/build-template.yml
parameters:
arch: amd64
sonic_slave: sonic-slave-buster
artifact_name: sonic-linux-kernel
- ${{ if ne(variables['Build.Reason'], 'PullRequest') }}:
- template: .azure-pipelines/build-template.yml
parameters:
arch: armhf
timeout: 1440
pool: sonicbld_8c
sonic_slave: sonic-slave-buster-armhf
artifact_name: sonic-linux-kernel.armhf
- template: .azure-pipelines/build-template.yml
parameters:
arch: arm64
timeout: 1440
pool: sonicbld_8c
sonic_slave: sonic-slave-buster-arm64
artifact_name: sonic-linux-kernel.arm64