Last change
on this file since 89983 was 85718, checked in by vboxsync, 5 years ago |
Devices/EFI: Merge edk-stable202005 and make it build, bugref:4643
|
-
Property svn:eol-style
set to
native
|
File size:
1.1 KB
|
Line | |
---|
1 | ## @file
|
---|
2 | # File templates/basetools-build-job.yml
|
---|
3 | #
|
---|
4 | # template file to build basetools
|
---|
5 | #
|
---|
6 | # Copyright (c) Microsoft Corporation.
|
---|
7 | # SPDX-License-Identifier: BSD-2-Clause-Patent
|
---|
8 | ##
|
---|
9 | parameters:
|
---|
10 | tool_chain_tag: ''
|
---|
11 |
|
---|
12 | steps:
|
---|
13 | - ${{ if contains(parameters.tool_chain_tag, 'GCC') }}:
|
---|
14 | - bash: sudo apt-get update
|
---|
15 | displayName: Update apt
|
---|
16 | condition: and(gt(variables.pkg_count, 0), succeeded())
|
---|
17 |
|
---|
18 | - bash: sudo apt-get install gcc g++ make uuid-dev
|
---|
19 | displayName: Install required tools
|
---|
20 | condition: and(gt(variables.pkg_count, 0), succeeded())
|
---|
21 |
|
---|
22 | - task: CmdLine@1
|
---|
23 | displayName: Build Base Tools from source
|
---|
24 | inputs:
|
---|
25 | filename: python
|
---|
26 | arguments: BaseTools/Edk2ToolsBuild.py -t ${{ parameters.tool_chain_tag }}
|
---|
27 | condition: and(gt(variables.pkg_count, 0), succeeded())
|
---|
28 |
|
---|
29 | - task: CopyFiles@2
|
---|
30 | displayName: "Copy base tools build log"
|
---|
31 | inputs:
|
---|
32 | targetFolder: '$(Build.ArtifactStagingDirectory)'
|
---|
33 | SourceFolder: 'BaseTools/BaseToolsBuild'
|
---|
34 | contents: |
|
---|
35 | BASETOOLS_BUILD*.*
|
---|
36 | flattenFolders: true
|
---|
37 | condition: and(gt(variables.pkg_count, 0), succeededOrFailed())
|
---|
Note:
See
TracBrowser
for help on using the repository browser.