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.web10.56049.1669926503387522851 for ; Thu, 01 Dec 2022 12:28:23 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=XQTLuxa+; 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=1669926502; 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=ISCOl3rVJwIlnQ6LvgbdtfX6nfrG2EqDsVrVfHUdPAQ=; b=XQTLuxa+qnj8oZkclAJmJ0R3nHDZdXSBM2zURA5PTXqZuW31vSvBi6VijfPuhTKNIWmolH YFzXROmCgoadOrx/OSDy7u8y3XcRgq9IjYPbct/maXb1+DXclKmCWfMCpZ3udj0bwdB6eV WMJQJCi0L4l9cP29xv6dwpwKkc+k8Fk= 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-576-jNEEI7HZNnW0g6oS9sRjCQ-1; Thu, 01 Dec 2022 15:28:21 -0500 X-MC-Unique: jNEEI7HZNnW0g6oS9sRjCQ-1 Received: by mail-lf1-f71.google.com with SMTP id c1-20020a197601000000b004a2b252ee0dso1225830lff.14 for ; Thu, 01 Dec 2022 12:28:21 -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=ISCOl3rVJwIlnQ6LvgbdtfX6nfrG2EqDsVrVfHUdPAQ=; b=BNjQHUZGvIT6fLuDQ8DGAQjVpPfZux+svypGrzUEEcQ4w59tbh1oXZRjppf16XXFgo HW5Q/v1/TjhQ8mLNyu7CKjSqN6bKure5G4o57+ftKUl/MZeSN0VMXFy2kFFFOZnWQHJx 47GmiUFtk6+OEu3dJ2pFudwBOtyIVCX/snLpRvcPWMy7DJIQzQTBRE/Pxhz6Ws5JEWng Vg8ks6aT7ORXOYA/RHk1CbuXp7HRTOVaj6lzKfSy2dV6R+dRdjtkugsyY1elVnhyD5Ke EbPWpM/uZVjLBCvwtTo3KwW4XxGL0kaYbqo9x9nMuO0bDNER6LFRp9/3DCSchrks0NbW GUKw== X-Gm-Message-State: ANoB5pnFwkVpe9ViKoaDYBoIK6fkrV3sqhBzTMTTiVpBrxg9wOkPP/rR CnwABBsF9QxGPlREFMpwcoaaYEwXj2WwWB1Oqoc55/v4jGSOI7tTdRWRJ0Y+e9fN9th7hwbkEkd OfRoZK3ZP1kEBNWdrE+AdpfVXesA82Q== X-Received: by 2002:a2e:a4d1:0:b0:279:b2f8:46e9 with SMTP id p17-20020a2ea4d1000000b00279b2f846e9mr4571129ljm.254.1669926499472; Thu, 01 Dec 2022 12:28:19 -0800 (PST) X-Google-Smtp-Source: AA0mqf7akxY106g8GSqCx8/w/Bl//7ei3x2CtiNvZhDzLjopSizoUp+Ox6eB3M58IBad+PM9L9qk+T4oBBUHoCYh0v8= X-Received: by 2002:a2e:a4d1:0:b0:279:b2f8:46e9 with SMTP id p17-20020a2ea4d1000000b00279b2f846e9mr4571108ljm.254.1669926499321; Thu, 01 Dec 2022 12:28:19 -0800 (PST) Received: from 567203818698 named unknown by gmailapi.google.com with HTTPREST; Thu, 1 Dec 2022 12:28:18 -0800 From: "Oliver Steffen" X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221201202810.109662-1-osteffen@redhat.com> References: <20221201202810.109662-1-osteffen@redhat.com> MIME-Version: 1.0 Date: Thu, 1 Dec 2022 12:28:18 -0800 Message-ID: Subject: [PATCH v10 05/17] 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 , Michael Kubacki X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Without adding ~/.local/bin to PATH, `pip install` will throw an error when running inside a container. Containers will be introduced to the CI in the following commits. Signed-off-by: Oliver Steffen Reviewed-by: Michael Kubacki --- .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