summaryrefslogtreecommitdiff
path: root/.azure-pipelines.yml
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-05-03 08:30:14 -0400
committerTom Rini <trini@konsulko.com>2022-05-03 08:32:50 -0400
commitf8e7670f8b2a5ba8f25682eee56039fa5f0a20ca (patch)
treef965eeb64ec760d79a1d73242ea82be532ae2dbd /.azure-pipelines.yml
parentedb6982b5800603a67ff3710ef074ff7ac86e5ea (diff)
downloadu-boot-f8e7670f8b2a5ba8f25682eee56039fa5f0a20ca.tar.gz
CI: Azure: Rework how we update MSYS2
Based on reading https://www.msys2.org/docs/ci/ and "Other Systems" rework how we update MSYS2 to the current version. We run it once, to perform nothing other than being the first run, then we run pacman twice. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to '.azure-pipelines.yml')
-rw-r--r--.azure-pipelines.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml
index 4e5c4b785a..ad540ea635 100644
--- a/.azure-pipelines.yml
+++ b/.azure-pipelines.yml
@@ -22,8 +22,9 @@ stages:
displayName: 'Install MSYS2'
- script: |
sfx.exe -y -o%CD:~0,2%\
- %CD:~0,2%\msys64\usr\bin\bash -lc "pacman --noconfirm -Syyuu"
- %CD:~0,2%\msys64\usr\bin\bash -lc "pacman --noconfirm -Su"
+ %CD:~0,2%\msys64\usr\bin\bash -lc " "
+ %CD:~0,2%\msys64\usr\bin\bash -lc "pacman --noconfirm -Syuu"
+ %CD:~0,2%\msys64\usr\bin\bash -lc "pacman --noconfirm -Syuu"
displayName: 'Update MSYS2'
- script: |
%CD:~0,2%\msys64\usr\bin\bash -lc "pacman --noconfirm --needed -Sy make gcc bison flex diffutils openssl-devel libgnutls-devel libutil-linux-devel"