From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.groups.io with SMTP id smtpd.web11.160612.1669750004345442453 for ; Tue, 29 Nov 2022 11:26:44 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=MLgWRghq; spf=pass (domain: redhat.com, ip: 170.10.133.124, mailfrom: osteffen@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1669750003; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=xHTlLrucNl7w3felpCYeX/BdvrEECb1ywp0dIlcrr+w=; b=MLgWRghqB0vrpHc1Km7k1a3N2Z4NHT6nnxPOwqcrtvQJ88IT2SEZIqrtMHXZEYzaYxAf25 FBZrwzpKqn7WgyqbsigRt/eNeAJqr0aH/vx0I3C2SJBx2/Ucc23E5AaXFdIMyXy1hJdTqN kU7YZ0kf7sWFfWXeTXUCqRNKJbQ2o0E= Received: from mail-lf1-f69.google.com (mail-lf1-f69.google.com [209.85.167.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-572-t97Vw6wnMmano7gm3A7e6A-1; Tue, 29 Nov 2022 14:26:42 -0500 X-MC-Unique: t97Vw6wnMmano7gm3A7e6A-1 Received: by mail-lf1-f69.google.com with SMTP id l7-20020a19c207000000b004a471b5cbabso5619884lfc.18 for ; Tue, 29 Nov 2022 11:26:42 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=xHTlLrucNl7w3felpCYeX/BdvrEECb1ywp0dIlcrr+w=; b=qHGdbAqTdjf0uK5kEFSRq6PNQfIvNKX8CwT2kGjflABuq0g/T9zwts7ULk3EJJyYJm PmaZWtQHaoKq4IEmZsrRbYHTEQg3cu0GXI5NiEsowBkdzCMlKaIiXbOnffdifwC4jSGw NE6gZRY4YlHSMzlk9Y4HhVPm6fUMOFZndQEchDv5aSsJWRUDdZMNJ/VA7lDzVNHR741x 8Dp3j4MBhmnwPnS3QIBouggZ0hDy0SH0l8exSWNA6Lu23cqWBwxFvJyORqs+YuM32Vun AAh6a5HxWByM2NL/mZwHu2Rb/KHEMtrmyZ4fWsRFbIU1gXw8Lw1uUMid20xU8lgmwgXP aVzA== X-Gm-Message-State: ANoB5pkhhfZ6+B4ojRwKq87ic+FyOTRCdPOsTpdwY+ZyNt7L1XhCnGxk OAVvZWh+gqbhhMQXA36OgRRcjETQB6LV+u9xTFBk0N91+IcQtr96UBOcXe1fiaTJWG8ZHkkq9Hc d5g/qmmg+LQuKcHBXNAn/5sGWgm+JEg== X-Received: by 2002:a19:ca55:0:b0:4b5:2ae5:d3bd with SMTP id h21-20020a19ca55000000b004b52ae5d3bdmr1002618lfj.46.1669750000471; Tue, 29 Nov 2022 11:26:40 -0800 (PST) X-Google-Smtp-Source: AA0mqf4t3DhYLVQ3GN9E9Mp7npCXEJ+xatAMto61IE5oe3e7oG2vLedl+8FB9eHFi/E3ZWGcACDIAW96DFXJqoV45Pk= X-Received: by 2002:a19:ca55:0:b0:4b5:2ae5:d3bd with SMTP id h21-20020a19ca55000000b004b52ae5d3bdmr1002569lfj.46.1669750000249; Tue, 29 Nov 2022 11:26:40 -0800 (PST) Received: from 567203818698 named unknown by gmailapi.google.com with HTTPREST; Tue, 29 Nov 2022 14:26:39 -0500 From: "Oliver Steffen" X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221129192625.643896-1-osteffen@redhat.com> References: <20221129192625.643896-1-osteffen@redhat.com> MIME-Version: 1.0 Date: Tue, 29 Nov 2022 14:26:39 -0500 Message-ID: Subject: [PATCH v7 2/6] CI: add ~/.local/bin to PATH (Linux only) To: devel@edk2.groups.io Cc: Abner Chang , Alexei Fedorov , Andrew Fish , Anthony Perard , Ard Biesheuvel , Bob Feng , Brijesh Singh , Chasel Chiu , Daniel Schaefer , Erdem Aktas , Eric Dong , Gerd Hoffmann , Gua Guo , Guo Dong , Guomin Jiang , Hao A Wu , Igor Kulchytskyy , James Bottomley , James Lu , Jian J Wang , Jiaxin Wu , Jiewen Yao , Jordan Justen , Julien Grall , Leif Lindholm , Liming Gao , Maciej Rabeda , Michael D Kinney , Michael Kubacki , Min Xu , Nate DeSimone , Nickle Wang , Peter Grehan , Pierre Gondois , Rahul Kumar , Ray Ni , Rebecca Cran , Sami Mujawar , Sean Brogan , Sean Rhodes , Sebastien Boeuf , Siyuan Fu , Star Zeng , Sunil V L , Supreeth Venkatesh , Tom Lendacky , Wei6 Xu , Xiaoyu Lu , Yuwei Chen , Zhichao Gao , Zhiguang Liu , Pawel Polawski , Chris Fernald , Oliver Steffen X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Fix pip install under certain conditions. Signed-off-by: Oliver Steffen --- .azurepipelines/templates/platform-build-run-steps.yml | 6 ++++++ .azurepipelines/templates/pr-gate-steps.yml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/.azurepipelines/templates/platform-build-run-steps.yml b/.azurepipelines/templates/platform-build-run-steps.yml index 6c9189a20fde..38818ef0db44 100644 --- a/.azurepipelines/templates/platform-build-run-steps.yml +++ b/.azurepipelines/templates/platform-build-run-steps.yml @@ -39,6 +39,12 @@ parameters: default: ">=3.10.6" steps: +- bash: | + echo "##vso[task.prependpath]${HOME}/.local/bin" + echo "new PATH=${PATH}" + displayName: Set PATH + condition: eq('${{ parameters.tool_chain_tag }}', 'GCC5') + - checkout: self clean: true fetchDepth: 1 diff --git a/.azurepipelines/templates/pr-gate-steps.yml b/.azurepipelines/templates/pr-gate-steps.yml index bf6574b33692..7be33e425fe5 100644 --- a/.azurepipelines/templates/pr-gate-steps.yml +++ b/.azurepipelines/templates/pr-gate-steps.yml @@ -15,6 +15,12 @@ parameters: usePythonVersion: '>=3.10.6' steps: +- bash: | + echo "##vso[task.prependpath]${HOME}/.local/bin" + echo "new PATH=${PATH}" + displayName: Set PATH + condition: eq('${{ parameters.tool_chain_tag }}', 'GCC5') + - checkout: self clean: true fetchDepth: 1 -- 2.38.1