2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-21 15:02:19 +00:00

Add more macOS cross-build checks.

This commit is contained in:
Rene Rivera
2022-04-27 09:10:30 -05:00
parent 0ee29aa561
commit 88b890e8cd
2 changed files with 9 additions and 8 deletions

View File

@@ -5,13 +5,6 @@ steps:
sudo xcode-select -switch ${XCODE_APP}
which clang++
displayName: Install
- bash: |
set -e
cd src/engine
./build.sh ${TOOLSET} --cxx=${CXX}
./b2 -v
cd ../..
displayName: Build
- bash: |
set -e
CXX_PATH=`which ${CXX}`

View File

@@ -125,10 +125,18 @@ stages:
- job: 'macOS'
strategy:
matrix:
Xcode ${{variables.xc_latest}}: {
Xcode ${{variables.xc_latest}} arm+x86/64: {
B2_ARGS: "architecture=arm+x86 address-model=64",
TOOLSET: clang, TEST_TOOLSET: clang, CXX: clang++,
XCODE_APP: "/Applications/Xcode_${{variables.xc_latest}}.app", VM_IMAGE: "${{variables.macos_latest_vm}}"}
Xcode ${{variables.xc_latest}} arm/64: {
B2_ARGS: "architecture=arm address-model=64",
TOOLSET: clang, TEST_TOOLSET: clang, CXX: clang++,
XCODE_APP: "/Applications/Xcode_${{variables.xc_latest}}.app", VM_IMAGE: "${{variables.macos_latest_vm}}"}
Xcode ${{variables.xc_latest}} x86/64: {
B2_ARGS: "architecture=x86 address-model=64",
TOOLSET: clang, TEST_TOOLSET: clang, CXX: clang++,
XCODE_APP: "/Applications/Xcode_${{variables.xc_latest}}.app", VM_IMAGE: "${{variables.macos_latest_vm}}"}
pool:
vmImage: $(VM_IMAGE)
steps: