mirror of
https://github.com/boostorg/build.git
synced 2026-02-14 00:32:11 +00:00
Add macOS Boost tets.
This commit is contained in:
@@ -366,18 +366,6 @@ stages:
|
||||
TOOLSET: gcc
|
||||
CXX: g++-9
|
||||
PACKAGES: g++-9
|
||||
# 1.65.1 .. GCC 9:
|
||||
# BOOST_VERSION: 1.65.1
|
||||
# BOOST_VERSION_U: 1_65_1
|
||||
# TOOLSET: gcc
|
||||
# CXX: g++-9
|
||||
# PACKAGES: g++-9
|
||||
# 1.64.0 .. GCC 9:
|
||||
# BOOST_VERSION: 1.64.0
|
||||
# BOOST_VERSION_U: 1_64_0
|
||||
# TOOLSET: gcc
|
||||
# CXX: g++-9
|
||||
# PACKAGES: g++-9
|
||||
steps:
|
||||
- bash: |
|
||||
set -e
|
||||
@@ -455,15 +443,123 @@ stages:
|
||||
./b2 -v
|
||||
displayName: Build
|
||||
- bash: |
|
||||
set -e
|
||||
pushd ${HOME}
|
||||
git clone --recursive https://github.com/boostorg/boost.git
|
||||
cd boost
|
||||
git checkout ${BOOST_BRANCH}
|
||||
CXX_PATH=`which ${CXX}`
|
||||
echo "using ${TOOLSET} : : ${CXX_PATH} ;" > ${HOME}/user-config.jam
|
||||
"${BUILD_SOURCESDIRECTORY}/src/engine/b2" "--boost-build=${BUILD_SOURCESDIRECTORY}/src" --debug-configuration --build-type=complete --layout=versioned -n -d1 toolset=${TOOLSET} install
|
||||
popd
|
||||
set -e
|
||||
pushd ${HOME}
|
||||
git clone --recursive https://github.com/boostorg/boost.git
|
||||
cd boost
|
||||
git checkout ${BOOST_BRANCH}
|
||||
CXX_PATH=`which ${CXX}`
|
||||
echo "using ${TOOLSET} : : ${CXX_PATH} ;" > ${HOME}/user-config.jam
|
||||
"${BUILD_SOURCESDIRECTORY}/src/engine/b2" "--boost-build=${BUILD_SOURCESDIRECTORY}/src" --debug-configuration --build-type=complete --layout=versioned -n -d1 toolset=${TOOLSET} install
|
||||
popd
|
||||
displayName: Test
|
||||
|
||||
- job: 'Release_macOS'
|
||||
displayName: 'Release macOS'
|
||||
pool:
|
||||
vmImage: 'macOS-10.14'
|
||||
strategy:
|
||||
matrix:
|
||||
1.71.0 .. Xcode 11:
|
||||
BOOST_VERSION: 1.71.0
|
||||
BOOST_VERSION_U: 1_71_0
|
||||
TOOLSET: clang
|
||||
CXX: clang++
|
||||
XCODE_APP: /Applications/Xcode_11.app
|
||||
1.70.0 .. Xcode 11:
|
||||
BOOST_VERSION: 1.70.0
|
||||
BOOST_VERSION_U: 1_70_0
|
||||
TOOLSET: clang
|
||||
CXX: clang++
|
||||
XCODE_APP: /Applications/Xcode_11.app
|
||||
1.69.0 .. Xcode 11:
|
||||
BOOST_VERSION: 1.69.0
|
||||
BOOST_VERSION_U: 1_69_0
|
||||
TOOLSET: clang
|
||||
CXX: clang++
|
||||
XCODE_APP: /Applications/Xcode_11.app
|
||||
1.68.0 .. Xcode 11:
|
||||
BOOST_VERSION: 1.68.0
|
||||
BOOST_VERSION_U: 1_68_0
|
||||
TOOLSET: clang
|
||||
CXX: clang++
|
||||
XCODE_APP: /Applications/Xcode_11.app
|
||||
1.67.0 .. Xcode 11:
|
||||
BOOST_VERSION: 1.67.0
|
||||
BOOST_VERSION_U: 1_67_0
|
||||
TOOLSET: clang
|
||||
CXX: clang++
|
||||
XCODE_APP: /Applications/Xcode_11.app
|
||||
1.66.0 .. Xcode 11:
|
||||
BOOST_VERSION: 1.66.0
|
||||
BOOST_VERSION_U: 1_66_0
|
||||
TOOLSET: clang
|
||||
CXX: clang++
|
||||
XCODE_APP: /Applications/Xcode_11.app
|
||||
steps:
|
||||
- bash: |
|
||||
set -e
|
||||
uname -a
|
||||
sudo xcode-select -switch ${XCODE_APP}
|
||||
which clang++
|
||||
displayName: Install
|
||||
- bash: |
|
||||
set -e
|
||||
cd src/engine
|
||||
./build.sh ${TOOLSET}
|
||||
./b2 -v
|
||||
displayName: Build
|
||||
- bash: |
|
||||
set -e
|
||||
pushd ${HOME}
|
||||
wget -nv https://dl.bintray.com/boostorg/release/${BOOST_VERSION}/source/boost_${BOOST_VERSION_U}.tar.bz2
|
||||
tar -jxf boost_${BOOST_VERSION_U}.tar.bz2
|
||||
cd boost_${BOOST_VERSION_U}
|
||||
CXX_PATH=`which ${CXX}`
|
||||
echo "using ${TOOLSET} : : ${CXX_PATH} ;" > ${HOME}/user-config.jam
|
||||
"${BUILD_SOURCESDIRECTORY}/src/engine/b2" "--boost-build=${BUILD_SOURCESDIRECTORY}/src" --debug-configuration --build-type=complete --layout=versioned -n -d1 toolset=${TOOLSET} install
|
||||
popd
|
||||
displayName: Test
|
||||
|
||||
- job: 'Dev_macOS'
|
||||
displayName: 'Dev macOS'
|
||||
pool:
|
||||
vmImage: 'macOS-10.14'
|
||||
strategy:
|
||||
matrix:
|
||||
Master .. Xcode 11:
|
||||
BOOST_BRANCH: master
|
||||
TOOLSET: clang
|
||||
CXX: clang++
|
||||
XCODE_APP: /Applications/Xcode_11.app
|
||||
Develop .. GCC 9:
|
||||
BOOST_BRANCH: develop
|
||||
TOOLSET: clang
|
||||
CXX: clang++
|
||||
XCODE_APP: /Applications/Xcode_11.app
|
||||
steps:
|
||||
- bash: |
|
||||
set -e
|
||||
uname -a
|
||||
sudo xcode-select -switch ${XCODE_APP}
|
||||
which clang++
|
||||
displayName: Install
|
||||
- bash: |
|
||||
set -e
|
||||
cd src/engine
|
||||
./build.sh ${TOOLSET}
|
||||
./b2 -v
|
||||
displayName: Build
|
||||
- bash: |
|
||||
set -e
|
||||
pushd ${HOME}
|
||||
git clone --recursive https://github.com/boostorg/boost.git
|
||||
cd boost
|
||||
git checkout ${BOOST_BRANCH}
|
||||
CXX_PATH=`which ${CXX}`
|
||||
echo "using ${TOOLSET} : : ${CXX_PATH} ;" > ${HOME}/user-config.jam
|
||||
"${BUILD_SOURCESDIRECTORY}/src/engine/b2" "--boost-build=${BUILD_SOURCESDIRECTORY}/src" --debug-configuration --build-type=complete --layout=versioned -n -d1 toolset=${TOOLSET} install
|
||||
popd
|
||||
displayName: Test
|
||||
|
||||
- stage: WebsiteUpdate
|
||||
|
||||
Reference in New Issue
Block a user