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.129.124]) by mx.groups.io with SMTP id smtpd.web11.37.1664210883346006175 for ; Mon, 26 Sep 2022 09:48:03 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=iOxcNIda; spf=pass (domain: redhat.com, ip: 170.10.129.124, mailfrom: osteffen@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1664210882; 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=Vsx/nk8ZGShrTH39t8Fo+lNhGMWTfNYvSKZ+R7EA1Bo=; b=iOxcNIdaf4GO1VnEXmiL7/V/nJdq2Nyx2F8ZfzcZd2dparIKnabzB+6IWl6gGjZMqEWZET pVdWShX320dNvnYModKAYHMWpvLV+nnUMKciUfb94qY+EaiTs6GhnySKh92NEgU+BXQlwf urjanp2W9M8KyAFdA4ZSbZQiguLYzH0= Received: from mail-lf1-f71.google.com (mail-lf1-f71.google.com [209.85.167.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-630-C0odrkVgORWZjhq68jpHCA-1; Mon, 26 Sep 2022 12:31:36 -0400 X-MC-Unique: C0odrkVgORWZjhq68jpHCA-1 Received: by mail-lf1-f71.google.com with SMTP id u3-20020a056512094300b00497a14e7589so2601662lft.12 for ; Mon, 26 Sep 2022 09:31:36 -0700 (PDT) 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; bh=Vsx/nk8ZGShrTH39t8Fo+lNhGMWTfNYvSKZ+R7EA1Bo=; b=Qq5dLUbIiYvx0gJNgGwxmlwMkQ1cSuIt0qCoUxN23XiEXGDR8jILR7ddgaS752w72p WzuH5PeFOLkIfPIHELlMsL9eF5z+8qTqV/NQs+oC470bh2SKSg9FYpNnqCmGtif5QSQd uFpa6KK7p8Z+BTYe58uQsBd3is4Wf9ik87jP61/RCp6fGZ6FdBJaL23+mvRn38cROGFk dSCk/BnzttmzMfiEA0tNHH6atCI8pLpq6M9LRcZMEVc6FZiDLX3jynTLDrsVPEn7L45w d7A1Mh9Gxkz7gR6iKBMuTwk1pK84Pz+qPhew9kejWpfBil4sYt4dlL7ZqgQQXiXHS2Jc NbCQ== X-Gm-Message-State: ACrzQf3Ol5/w7dL3MaOj8zEy7+s+UYpK7wTWIiXwN88vM9G6TXcw0M+H SjrtuNAXZcyhD4kSFm1uZv+fgS1cm2aHyxKMveK1qIAzprzjUdIws5G+rNqv3CD3qV6lllXTz+q z4vjhwhz3IS2y4vKftngkVo0uaSvhKA== X-Received: by 2002:ac2:4422:0:b0:49f:5c95:9525 with SMTP id w2-20020ac24422000000b0049f5c959525mr9789638lfl.1.1664209893878; Mon, 26 Sep 2022 09:31:33 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5iLW2dvFe1jJ42zhx9NmKPOta5EdJfJcxRZ84kx+0zYZh37B8Psk69W3yGAFC7Ub0f0MmHJGmFXLqBPIvlfYs= X-Received: by 2002:ac2:4422:0:b0:49f:5c95:9525 with SMTP id w2-20020ac24422000000b0049f5c959525mr9789633lfl.1.1664209893707; Mon, 26 Sep 2022 09:31:33 -0700 (PDT) Received: from 567203818698 named unknown by gmailapi.google.com with HTTPREST; Mon, 26 Sep 2022 09:31:33 -0700 From: "Oliver Steffen" X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220926163129.85032-1-osteffen@redhat.com> References: <20220926163129.85032-1-osteffen@redhat.com> MIME-Version: 1.0 Date: Mon, 26 Sep 2022 09:31:33 -0700 Message-ID: Subject: [PATCH v6 2/5] CI: add ~/.local/bin to PATH (Linux only) To: devel@edk2.groups.io Cc: Oliver Steffen , Andrew Fish , Ard Biesheuvel , Bob Feng , Gerd Hoffmann , Jiewen Yao , Jordan Justen , Leif Lindholm , Liming Gao , Michael D Kinney , Michael Kubacki , Ray Ni , Sami Mujawar , Sean Brogan , Yuwei Chen , Pawel Polawski 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.37.3