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.22816.1669838478557510744 for ; Wed, 30 Nov 2022 12:01:18 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ROy6R+ak; 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=1669838477; 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=osNjlsQRZygOjELGrl5HBrkehOF5sIt4YEnXzNmKaX0=; b=ROy6R+akdk6vk6sU9QX7H8tD912r9y4UkuWZO7XaLBJXn/PIS2lNDpIpwKt+onenOSxrox /CHZNbDBB0+qr8N+N+KU0zTeTN+G9EWFx7PlKhhX1quV6Eh5XNV0KSglcuqxs+C1jipsVL peDPpavLCPH57owiny9q70GHC3Z+LcY= 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-113-jdychJ71MIOGdjoeGL3euw-1; Wed, 30 Nov 2022 15:01:12 -0500 X-MC-Unique: jdychJ71MIOGdjoeGL3euw-1 Received: by mail-lf1-f71.google.com with SMTP id r17-20020ac25a51000000b004b01305202dso6847622lfn.5 for ; Wed, 30 Nov 2022 12:01:11 -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=osNjlsQRZygOjELGrl5HBrkehOF5sIt4YEnXzNmKaX0=; b=2HzvJaSm8+5Qp05dmiQa/zw3dnhp4IGcsJarTET7CdcerENNs3KTml74no8v3+E8Gq og6DTh9Sx/W1Nh6Rkzzh+S4on7nDM8+seg3OoL1Cj4sQN1LsoogPKPLXnv31Px1AAvKG /qZT32nDjz5qlUG9cDDDUGhiMoewNbnr+sRKBR3UI7/tM+LBY1c3h4mHY3Y4ULF6zUqw SmSksOMT8nXFLzrD7buUfMdSU4kQVLuvk12kXtQZWnY3rlxvMls3MG93EwimWtj7xKQI h1mWE1DgDIkyrIIM+GWo0V/2uMOODlvJtqFG7a6JK1KOhw+1cmRpP0ViQr4tcGPTqXfj XMEQ== X-Gm-Message-State: ANoB5pk9xw3lPeYf14ESZr9KE3n0PBp7lkc7y52PgKw1vDdTObfbzccn BXHgm0KWDCFvBqu+QkyaXoUtVpfY7HqKSMzDJ1H8w8TFtG601NUdolu/v52jdQmux7Fxi580QfG 59eC8MN2arPdhM2DzABbFRLqtYctYog== X-Received: by 2002:a2e:a371:0:b0:279:7d4a:f22b with SMTP id i17-20020a2ea371000000b002797d4af22bmr12476874ljn.471.1669838469532; Wed, 30 Nov 2022 12:01:09 -0800 (PST) X-Google-Smtp-Source: AA0mqf4lwJFrDvI8ls+zaOlaxM6tyBm9P+/UDBg/gB7I6zPhBmC7PIBQ14ViOfKEpi1THOie4Xy2r9Nv0agjD4bJV0I= X-Received: by 2002:a2e:a371:0:b0:279:7d4a:f22b with SMTP id i17-20020a2ea371000000b002797d4af22bmr12476848ljn.471.1669838469368; Wed, 30 Nov 2022 12:01:09 -0800 (PST) Received: from 567203818698 named unknown by gmailapi.google.com with HTTPREST; Wed, 30 Nov 2022 12:01:08 -0800 From: "Oliver Steffen" X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221130200037.1098765-1-osteffen@redhat.com> References: <20221130200037.1098765-1-osteffen@redhat.com> MIME-Version: 1.0 Date: Wed, 30 Nov 2022 12:01:08 -0800 Message-ID: Subject: [PATCH v8 04/12] CI: add ~/.local/bin to PATH (Linux only) To: devel@edk2.groups.io Cc: Andrew Fish , Ard Biesheuvel , Bob Feng , Daniel Schaefer , Gerd Hoffmann , Jiewen Yao , Jordan Justen , Leif Lindholm , Liming Gao , Michael D Kinney , Michael Kubacki , Ray Ni , Sami Mujawar , Sean Brogan , Sunil V L , Yuwei Chen , 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 8803d80cf51c..087f460d7fec 100644 --- a/.azurepipelines/templates/platform-build-run-steps.yml +++ b/.azurepipelines/templates/platform-build-run-steps.yml @@ -39,6 +39,12 @@ parameters: default: '' 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 27a44c06011c..99d52cfa0605 100644 --- a/.azurepipelines/templates/pr-gate-steps.yml +++ b/.azurepipelines/templates/pr-gate-steps.yml @@ -15,6 +15,12 @@ parameters: usePythonVersion: '' 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