2 windows_vm: vs2015-win2012r2
5 - job: tools_only_windows
6 displayName: 'Ensure host tools build for Windows'
13 BASE_REPO: msys2-ci-base-i686
16 BASE_REPO: msys2-ci-base
19 git clone https://github.com/msys2/$(BASE_REPO).git %CD:~0,2%\$(MSYS_DIR)
20 displayName: 'Install MSYS2'
22 set PATH=%CD:~0,2%\$(MSYS_DIR)\usr\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem
23 %CD:~0,2%\$(MSYS_DIR)\usr\bin\pacman --noconfirm -Syyuu
24 displayName: 'Update MSYS2'
26 set PATH=%CD:~0,2%\$(MSYS_DIR)\usr\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem
27 %CD:~0,2%\$(MSYS_DIR)\usr\bin\pacman --noconfirm --needed -S make gcc bison diffutils openssl-devel
28 displayName: 'Install Toolchain'
30 set PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem
31 echo make tools-only_defconfig tools-only NO_SDL=1 > build-tools.sh
32 %CD:~0,2%\$(MSYS_DIR)\usr\bin\bash -lc "bash build-tools.sh"
33 displayName: 'Build Host Tools'
35 # Tell MSYS2 we need a POSIX emulation layer
37 # Tell MSYS2 not to ‘cd’ our startup directory to HOME