Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd4a28ae

Browse files
Max Knutsenuefibot
Max Knutsen
authored andcommitted
Merged PR 472: Updating CI Build instructions
Updating CI Build to use mu_build pip module
1 parentb8f6a34 commitd4a28ae

File tree

3 files changed

+11
-26
lines changed

3 files changed

+11
-26
lines changed

‎azure-pipelines-pr-gate.yml‎

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -25,28 +25,15 @@ steps:
2525
-script:python -m pip install --upgrade pip
2626
displayName:'Install/Upgrade pip'
2727

28-
-script:python -mpip install --upgrade mu_bootstrap
29-
displayName:'Install/Upgrademu_bootstrap'
28+
-script:pip install -r requirements.txt --upgrade
29+
displayName:'Install/Upgrademu_build'
3030

31-
#Bootstrap repo
31+
#Build repo
3232
-task:CmdLine@1
33-
displayName:'bootstrap repo'
34-
inputs:
35-
filename:mu_bootstrap
36-
arguments:'-c ci.mu.yaml'
37-
38-
# Python Script
39-
# Run a Python script.
40-
-task:PythonScript@0
33+
displayName:Build and Test $(Build.Pkgs)
4134
inputs:
42-
scriptSource:'filePath'# Options: filePath, inline
43-
scriptPath:MU_BUILD\UefiBuild\MuBuild\MuBuild.py# Required when scriptSource == FilePath
44-
#script: # Required when scriptSource == Inline
35+
filename:mu_build
4536
arguments:-c ci.mu.yaml --force-git -p $(Build.Pkgs)# Optional
46-
#pythonInterpreter: # Optional
47-
#workingDirectory: # Optional
48-
#failOnStderr: false # Optional
49-
displayName:Build and Test $(Build.Pkgs)
5037

5138

5239
# Publish Test Results to Azure Pipelines/TFS

‎ci.mu.yaml‎

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"Name":"Project Mu Plus Repo CI Build",
33
"GroupName":"MuPlus",
4-
4+
55
#Workspace path relative to this file
66
"RelativeWorkspaceRoot":"",
77
"Scopes":[ "corebuild" ],
@@ -12,13 +12,8 @@
1212
#Url
1313
#Branch
1414
#Commit
15-
{
16-
"Path":"MU_BUILD",
17-
"Url":"https://github.com/Microsoft/mu_build.git",
18-
"Branch":"release/201808"
19-
},
20-
{
21-
"Path":"MU_BASECORE",
15+
{
16+
"Path":"MU_BASECORE",
2217
"Url":"https://github.com/Microsoft/mu_basecore.git",
2318
"Branch":"release/201808"
2419
},

‎requirements.txt‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
mu_python_library
2+
mu_environment
3+
mu_build

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp