mirror of
https://github.com/boostorg/build.git
synced 2026-02-21 02:52:12 +00:00
Instrospect examples build products.
This commit is contained in:
@@ -1,26 +1,23 @@
|
||||
steps:
|
||||
- bash: |
|
||||
set -e
|
||||
uname -a
|
||||
sudo xcode-select -switch ${XCODE_APP}
|
||||
which clang++
|
||||
displayName: Install
|
||||
- bash: |
|
||||
set -e
|
||||
CXX_PATH=`which ${CXX}`
|
||||
echo "using ${TEST_TOOLSET} : : ${CXX_PATH} ;" > ${HOME}/user-config.jam
|
||||
./bootstrap.sh ${TOOLSET}
|
||||
./b2 --prefix=$HOME/temp/.b2 install ${TEST_TOOLSET}
|
||||
rm ./b2
|
||||
export PATH=$HOME/temp/.b2/bin:$PATH
|
||||
cd $HOME
|
||||
touch build.jam
|
||||
b2 -v
|
||||
b2 -n --debug-configuration
|
||||
displayName: Bootstrap
|
||||
- bash: set -e ; pushd example/hello ; $HOME/temp/.b2/bin/b2 -d+2 ${B2_ARGS} ; popd
|
||||
displayName: "example/hello"
|
||||
- bash: set -e ; pushd example/libraries ; $HOME/temp/.b2/bin/b2 -d+2 ${B2_ARGS} ; popd
|
||||
displayName: "example/libraries"
|
||||
- bash: set -e ; pushd example/make ; $HOME/temp/.b2/bin/b2 -d+2 ${B2_ARGS} ; popd
|
||||
displayName: "example/make"
|
||||
- bash: |
|
||||
set -e
|
||||
uname -a
|
||||
sudo xcode-select -switch ${XCODE_APP}
|
||||
which clang++
|
||||
displayName: Install
|
||||
- bash: |
|
||||
set -e
|
||||
CXX_PATH=`which ${CXX}`
|
||||
echo "using ${TEST_TOOLSET} : : ${CXX_PATH} ;" > ${HOME}/user-config.jam
|
||||
./bootstrap.sh ${TOOLSET}
|
||||
./b2 --prefix=$HOME/temp/.b2 install ${TEST_TOOLSET}
|
||||
rm ./b2
|
||||
export PATH=$HOME/temp/.b2/bin:$PATH
|
||||
cd $HOME
|
||||
touch build.jam
|
||||
b2 -v
|
||||
b2 -n --debug-configuration
|
||||
displayName: Bootstrap
|
||||
- { bash: "./.ci/b2_example.sh example/hello", displayName: "example/hello" }
|
||||
- { bash: "./.ci/b2_example.sh example/libraries", displayName: "example/libraries" }
|
||||
- { bash: "./.ci/b2_example.sh example/make", displayName: "example/make" }
|
||||
|
||||
14
.ci/b2_example.sh
Executable file
14
.ci/b2_example.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
pushd $1
|
||||
$HOME/temp/.b2/bin/b2 -d+2 ${B2_ARGS}
|
||||
find . -executable -type f -o -name "*.o" -o -name "*.a" -o -name "*.so" -o -name "*.dylib" -exec file '{}' '+'
|
||||
popd
|
||||
|
||||
# Use, modification, and distribution are
|
||||
# subject to the Boost Software License, Version 1.0. (See accompanying
|
||||
# file LICENSE.txt)
|
||||
#
|
||||
# Copyright Rene Rivera 2022.
|
||||
Reference in New Issue
Block a user