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:
@@ -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}`
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user