mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-27 15:44:04 +02:00
CI: add ~/.local/bin to PATH (Linux only)
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 <osteffen@redhat.com> Reviewed-by: Michael Kubacki <michael.kubacki@microsoft.com> Acked-by: Ard Biesheuvel <ardb@kernel.org> Acked-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Chris Fernald <chfernal@microsoft.com>
This commit is contained in:
parent
65cc189414
commit
becff4f473
@ -39,6 +39,12 @@ parameters:
|
|||||||
default: ''
|
default: ''
|
||||||
|
|
||||||
steps:
|
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
|
- checkout: self
|
||||||
clean: true
|
clean: true
|
||||||
fetchDepth: 1
|
fetchDepth: 1
|
||||||
|
@ -16,6 +16,12 @@ parameters:
|
|||||||
extra_install_step: []
|
extra_install_step: []
|
||||||
|
|
||||||
steps:
|
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
|
- checkout: self
|
||||||
clean: true
|
clean: true
|
||||||
fetchDepth: 1
|
fetchDepth: 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user