variables:
- windows_vm: windows-2022
ubuntu_vm: ubuntu-24.04
macos_vm: macOS-14
ci_runner_image: trini/u-boot-gitlab-ci-runner:noble-20251013-23Jan2026
stages:
- stage: testsuites
jobs:
- - job: tools_only_windows
- displayName: 'Ensure host tools build for Windows'
- pool:
- vmImage: $(windows_vm)
- steps:
- - powershell: |
- (New-Object Net.WebClient).DownloadFile("https://github.com/msys2/msys2-installer/releases/download/2021-06-04/msys2-base-x86_64-20210604.sfx.exe", "sfx.exe")
- displayName: 'Install MSYS2'
- - script: |
- sfx.exe -y -o%CD:~0,2%\
- %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"
- displayName: 'Install Toolchain'
- - script: |
- echo make tools-only_defconfig tools-only > build-tools.sh
- %CD:~0,2%\msys64\usr\bin\bash -lc "bash build-tools.sh"
- displayName: 'Build Host Tools'
- env:
- # Tell MSYS2 we need a POSIX emulation layer
- MSYSTEM: MSYS
- # Tell MSYS2 not to ‘cd’ our startup directory to HOME
- CHERE_INVOKING: yes
-
- job: tools_only_macOS
displayName: 'Ensure host tools build for macOS X'
pool: