From afac67bcc3316d95752f93b9838ba3892e30f9ca Mon Sep 17 00:00:00 2001 From: Yulong Wang <7679871+fs-eire@users.noreply.github.com> Date: Tue, 1 Aug 2023 16:22:45 -0700 Subject: [PATCH] [build] fix the CI pipeline (#16962) ### Description There are currently multiple failures that blocking the CI pipelines so this PR has all of the fixes in order to make sure it passes the CI. Otherwise a single fix will still fail the CI. includes: #16960 #16958 Please help to make sure this PR get merged once CI passed. @snnn @carzh @guschmue Fixed: [AB#18118](https://aiinfra.visualstudio.com/6a833879-cd9b-44a4-a9de-adc2d818f13c/_workitems/edit/18118) --------- Co-authored-by: Caroline Zhu --- js/.vscode/launch.json | 21 ++++--------------- .../templates/mac-cpu-packing-jobs.yml | 4 ++-- 2 files changed, 6 insertions(+), 19 deletions(-) diff --git a/js/.vscode/launch.json b/js/.vscode/launch.json index 4d9b6f3062..3f4ec74b7d 100644 --- a/js/.vscode/launch.json +++ b/js/.vscode/launch.json @@ -6,21 +6,12 @@ "configurations": [ { "name": "[common] Launch Unit Tests", - "args": [ - "-u", - "bdd", - "--timeout", - "999999", - "--colors", - "${workspaceFolder}/common/test/**/*.js" - ], + "args": ["-u", "bdd", "--timeout", "999999", "--colors", "${workspaceFolder}/common/test/**/*.js"], "internalConsoleOptions": "openOnSessionStart", "program": "${workspaceFolder}/node_modules/mocha/bin/_mocha", "cwd": "${workspaceFolder}/common", "request": "launch", - "skipFiles": [ - "/**" - ], + "skipFiles": ["/**"], "type": "node", "sourceMaps": true, "preLaunchTask": "tsc: build - common/test/tsconfig.json" @@ -29,14 +20,10 @@ "name": "[web] Launch Test Runner", "program": "${workspaceFolder}/web/script/test-runner-cli.js", "request": "launch", - "skipFiles": [ - "/**" - ], + "skipFiles": ["/**"], "type": "node", "cwd": "${workspaceFolder}/web", - "args": [ - "suite1" - ] + "args": ["suite1"] }, { "name": "[web] Attach to Chrome", diff --git a/tools/ci_build/github/azure-pipelines/templates/mac-cpu-packing-jobs.yml b/tools/ci_build/github/azure-pipelines/templates/mac-cpu-packing-jobs.yml index 4cd039b0dc..a40a3ad57b 100644 --- a/tools/ci_build/github/azure-pipelines/templates/mac-cpu-packing-jobs.yml +++ b/tools/ci_build/github/azure-pipelines/templates/mac-cpu-packing-jobs.yml @@ -46,9 +46,9 @@ jobs: - task: UsePythonVersion@0 # Use python 3.8 to avoid build some of the required packages - displayName: Use Python 3.8 + displayName: Use Python 3.11 inputs: - versionSpec: 3.8 + versionSpec: 3.11 - task: NodeTool@0 inputs: versionSpec: '16.x'