From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mx.groups.io with SMTP id smtpd.web10.93398.1680582289453042519 for ; Mon, 03 Apr 2023 21:24:49 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=VPWvG/12; spf=pass (domain: intel.com, ip: 134.134.136.126, mailfrom: michael.d.kinney@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1680582289; x=1712118289; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=h1y2sWtdBP+mFB5yy6I7n9uncPVGBOvSxL38utPV6Lc=; b=VPWvG/12p+oJtTrbM0vTLSaIbKJGRLaRPcc84f15Kn48xw4QK6QZvusG STQcdmnjaqJIVqLXVVBubVx8hovy1bDdJdL8wde1UCYTRDBZ2EKm35kpF apjBLqvoU5mRLv0O5mp4K/7140KSwRQPAzLbXohvcNhghCPmISueBIwiO MrlqS/e2biRLuGGxiolD5noqgryu2Vo7iZaJx10ulKxwIJ+PT++4myjXk wKksEAkwinyo5KcGWEWP6aTaVTzUV6Lj8UQCs4bqUMHrFEsiTZJDgG9IK zIshCDCQyIYA8pjQVnqzjVOI1G2LzpMAa975Zp5CFwM2GX+9pAuWKiNO9 A==; X-IronPort-AV: E=McAfee;i="6600,9927,10669"; a="326102001" X-IronPort-AV: E=Sophos;i="5.98,316,1673942400"; d="scan'208";a="326102001" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Apr 2023 21:24:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10669"; a="755512601" X-IronPort-AV: E=Sophos;i="5.98,316,1673942400"; d="scan'208";a="755512601" Received: from mdkinney-mobl2.amr.corp.intel.com ([10.212.164.186]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Apr 2023 21:24:48 -0700 From: "Michael D Kinney" To: devel@edk2.groups.io Cc: Sean Brogan , Michael Kubacki Subject: [Patch 1/2] .github.workflows: Split MdeModulePkg and CryptoPkg analysis Date: Mon, 3 Apr 2023 21:24:40 -0700 Message-Id: <20230404042441.130-2-michael.d.kinney@intel.com> X-Mailer: git-send-email 2.39.1.windows.1 In-Reply-To: <20230404042441.130-1-michael.d.kinney@intel.com> References: <20230404042441.130-1-michael.d.kinney@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit MdeModulePkg and CryptoPkg have double the CodeQL analysis time of all other packages. Split these packages up to perform separate analysis of IA32 and X64. Cc: Sean Brogan Cc: Michael Kubacki Signed-off-by: Michael D Kinney --- .github/workflows/codeql-analysis.yml | 64 ++++++++++++++++++--------- 1 file changed, 42 insertions(+), 22 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 33cc0bd6b46d..cc7f06f7b5b7 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -39,25 +39,45 @@ jobs: strategy: fail-fast: false matrix: - package: [ - "ArmPkg", - "CryptoPkg", - "DynamicTablesPkg", - "FatPkg", - "FmpDevicePkg", - "IntelFsp2Pkg", - "IntelFsp2WrapperPkg", - "MdeModulePkg", - "MdePkg", - "PcAtChipsetPkg", - "PrmPkg", - "SecurityPkg", - "ShellPkg", - "SourceLevelDebugPkg", - "StandaloneMmPkg", - "UefiCpuPkg", - "UnitTestFrameworkPkg"] - + include: + - Package: "ArmPkg" + ArchList: "IA32,X64" + - Package: "CryptoPkg" + ArchList: "IA32" + - Package: "CryptoPkg" + ArchList: "X64" + - Package: "DynamicTablesPkg" + ArchList: "IA32,X64" + - Package: "FatPkg" + ArchList: "IA32,X64" + - Package: "FmpDevicePkg" + ArchList: "IA32,X64" + - Package: "IntelFsp2Pkg" + ArchList: "IA32,X64" + - Package: "IntelFsp2WrapperPkg" + ArchList: "IA32,X64" + - Package: "MdeModulePkg" + ArchList: "IA32" + - Package: "MdeModulePkg" + ArchList: "X64" + - Package: "MdePkg" + ArchList: "IA32,X64" + - Package: "PcAtChipsetPkg" + ArchList: "IA32,X64" + - Package: "PrmPkg" + ArchList: "IA32,X64" + - Package: "SecurityPkg" + ArchList: "IA32,X64" + - Package: "ShellPkg" + ArchList: "IA32,X64" + - Package: "SourceLevelDebugPkg" + ArchList: "IA32,X64" + - Package: "StandaloneMmPkg" + ArchList: "IA32,X64" + - Package: "UefiCpuPkg" + ArchList: "IA32,X64" + - Package: "UnitTestFrameworkPkg" + ArchList: "IA32,X64" steps: - name: Checkout repository uses: actions/checkout@v3 @@ -83,16 +103,16 @@ jobs: run: pip install -r pip-requirements.txt --upgrade - name: Setup - run: stuart_setup -c .pytool/CISettings.py -t DEBUG -a IA32,X64 TOOL_CHAIN_TAG=VS2019 + run: stuart_setup -c .pytool/CISettings.py -t DEBUG -a ${{ matrix.ArchList }} TOOL_CHAIN_TAG=VS2019 - name: Update - run: stuart_update -c .pytool/CISettings.py -t DEBUG -a IA32,X64 TOOL_CHAIN_TAG=VS2019 + run: stuart_update -c .pytool/CISettings.py -t DEBUG -a ${{ matrix.ArchList }} TOOL_CHAIN_TAG=VS2019 - name: Build Tools From Source run: python BaseTools/Edk2ToolsBuild.py -t VS2019 - name: CI Build - run: stuart_ci_build -c .pytool/CISettings.py -p ${{ matrix.package }} -t DEBUG -a IA32,X64 TOOL_CHAIN_TAG=VS2019 + run: stuart_ci_build -c .pytool/CISettings.py -p ${{ matrix.Package }} -t DEBUG -a ${{ matrix.ArchList }} TOOL_CHAIN_TAG=VS2019 - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v2 -- 2.39.1.windows.1