summaryrefslogtreecommitdiff
path: root/.azure-pipelines.yml
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2020-07-28 12:06:41 +0300
committerTom Rini <trini@konsulko.com>2020-07-28 15:42:07 +0300
commit2a306a2da06b41346d66018e80056ce4b531cafa (patch)
treee5690d40bc648784b48b5cf740d685eaef53eb64 /.azure-pipelines.yml
parent1db942b67d00a3569efbbd3f36140470b0e59b2e (diff)
downloadu-boot-2a306a2da06b41346d66018e80056ce4b531cafa.tar.xz
azure: Use a login shell everywhere for MSYS2 build
This simplifies things a bit to just use a login shell everywhere. This keeps in sync with MSYS2 upstream commit: 9d11b7f0aa93 ("azure-pipelines: simplify things a bit"). Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to '.azure-pipelines.yml')
-rw-r--r--.azure-pipelines.yml7
1 files changed, 2 insertions, 5 deletions
diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml
index 9ba9f1d43e..186f148446 100644
--- a/.azure-pipelines.yml
+++ b/.azure-pipelines.yml
@@ -27,15 +27,12 @@ jobs:
git clone https://github.com/msys2/$(BASE_REPO).git %CD:~0,2%\$(MSYS_DIR)
displayName: 'Install MSYS2'
- script: |
- set PATH=%CD:~0,2%\$(MSYS_DIR)\usr\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem
- %CD:~0,2%\$(MSYS_DIR)\usr\bin\pacman --noconfirm -Syyuu
+ %CD:~0,2%\$(MSYS_DIR)\usr\bin\bash -lc "pacman --noconfirm -Syyuu"
displayName: 'Update MSYS2'
- script: |
- set PATH=%CD:~0,2%\$(MSYS_DIR)\usr\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem
- %CD:~0,2%\$(MSYS_DIR)\usr\bin\pacman --noconfirm --needed -S make gcc bison diffutils openssl-devel
+ %CD:~0,2%\$(MSYS_DIR)\usr\bin\bash -lc "pacman --noconfirm --needed -S make gcc bison diffutils openssl-devel"
displayName: 'Install Toolchain'
- script: |
- set PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem
echo make tools-only_defconfig tools-only NO_SDL=1 > build-tools.sh
%CD:~0,2%\$(MSYS_DIR)\usr\bin\bash -lc "bash build-tools.sh"
displayName: 'Build Host Tools'