summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kubacki <michael.kubacki@microsoft.com>2022-12-02 11:45:13 -0500
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2022-12-16 22:17:18 +0000
commit0e3e62fc2b9af7a264e4d178930a0ebd5c2a402a (patch)
treed39435f7df25cf2ed7ccd67dd4a87cb0d4a32bd8
parente254c71e9eaee6b14eba65e89e906576f3f1abc7 (diff)
downloadedk2-0e3e62fc2b9af7a264e4d178930a0ebd5c2a402a.tar.gz
edk2-0e3e62fc2b9af7a264e4d178930a0ebd5c2a402a.tar.bz2
edk2-0e3e62fc2b9af7a264e4d178930a0ebd5c2a402a.zip
.pytool/Readme.md: Add reference to new build instructions
Adds a reference to the new build instructions on the TianoCore wiki that currently describe building with containers and Stuart. Cc: Sean Brogan <sean.brogan@microsoft.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com> Acked-by: Ard Biesheuvel <ardb@kernel.org> Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
-rw-r--r--.pytool/Readme.md52
1 files changed, 17 insertions, 35 deletions
diff --git a/.pytool/Readme.md b/.pytool/Readme.md
index 9c7b7f9abb..b2688d1687 100644
--- a/.pytool/Readme.md
+++ b/.pytool/Readme.md
@@ -1,5 +1,12 @@
# Edk2 Continuous Integration
+This file focuses on information for those working with the `.pytools` directory
+directly or interested in lower-level details about how CI works.
+
+If you just want to get started building code, visit
+[Build Instructions](https://github.com/tianocore/tianocore.github.io/wiki/Build-Instruction)
+on the TianoCore wiki.
+
## Basic Status
| Package | Windows VS2019 (IA32/X64)| Ubuntu GCC (IA32/X64/ARM/AARCH64) | Known Issues |
@@ -82,43 +89,18 @@ easily and consistently running locally and in a cloud ci environment. To do
that a few steps should be followed. Details of EDKII Tools can be found in the
[docs folder here](https://github.com/tianocore/edk2-pytool-extensions/tree/master/docs)
-### Prerequisites
-
-1. A supported toolchain (others might work but this is what is tested and validated)
- * Windows 10:
- * VS 2017 or VS 2019
- * Windows SDK (for rc)
- * Windows WDK (for capsules)
- * Ubuntu 18.04 or Fedora
- * GCC5
- * Easy to add more but this is the current state
-2. Python 3.7.x or newer on path
-3. git on path
-4. Recommended to setup and activate a python virtual environment
-5. Install the requirements `pip install --upgrade -r pip-requirements.txt`
-
### Running CI
-1. clone your edk2 repo
-2. Activate your python virtual environment in cmd window
-3. Get code dependencies (done only when submodules change)
- * `stuart_setup -c .pytool/CISettings.py TOOL_CHAIN_TAG=<your tag here>`
-4. Update other dependencies (done more often)
- * `stuart_update -c .pytool/CISettings.py TOOL_CHAIN_TAG=<your tag here>`
-5. Run CI build (--help will give you options)
- * `stuart_ci_build -c .pytool/CISettings.py TOOL_CHAIN_TAG=<your tag here>`
- * -p <pkg1,pkg2,pkg3> : To build only certain packages use a CSV list
- * -a <arch1,arch2,arch3>: To run only certain architectures use a CSV list
- * -t <target1,target2>: To run only tests related to certain targets use a
- CSV list
- * By default all tests are opted in. Then given a package.ci.yaml file those
- tests can be configured for a package. Finally setting the check to the
- value `skip` will skip that plugin. Examples:
- * `CompilerPlugin=skip` skip the build test
- * `GuidCheck=skip` skip the Guid check
- * `SpellCheck=skip` skip the spell checker
- * etc
-6. Detailed reports and logs per package are captured in the `Build` directory
+Quick notes:
+
+* By default all CI plugins are opted in.
+ * Setting the plugin to `skip` as an argument will skip running the plugin.
+ Examples:
+ * `CompilerPlugin=skip` skip the build test
+ * `GuidCheck=skip` skip the Guid check
+ * `SpellCheck=skip` skip the spell checker
+ * etc.
+* Detailed reports and logs per package are captured in the `Build` directory.
## Current PyTool Test Capabilities