summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2020-05-15 17:04:10 -0400
committerTom Rini <trini@konsulko.com>2020-05-16 13:30:22 -0400
commit3a76f1dc9a659ddf7e182b86527515ca9b2875e9 (patch)
treedf3b82eda6b80b029d15a03c945c0ff72373a9f4
parent515f613253cf0a892c3a321770ab927fa3d925cf (diff)
downloadu-boot-3a76f1dc9a659ddf7e182b86527515ca9b2875e9.tar.gz
Azure: Add 'tools-only' build for macOS X hosts
Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r--.azure-pipelines.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml
index 5d9645451d..d7b7038236 100644
--- a/.azure-pipelines.yml
+++ b/.azure-pipelines.yml
@@ -1,6 +1,7 @@
variables:
windows_vm: vs2017-win2016
ubuntu_vm: ubuntu-18.04
+ macos_vm: macOS-10.15
ci_runner_image: trini/u-boot-gitlab-ci-runner:bionic-20200403-27Apr2020
# Add '-u 0' options for Azure pipelines, otherwise we get "permission
# denied" error when it tries to "useradd -m -u 1001 vsts_azpcontainer",
@@ -44,6 +45,14 @@ jobs:
# 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:
+ vmImage: $(macos_vm)
+ steps:
+ - script: |
+ make tools-only_config tools-only -j$(sysctl -n hw.logicalcpu)
+
- job: cppcheck
displayName: 'Static code analysis with cppcheck'
pool: