steps:
- bash: |
    set -e
    uname -a
    ./.ci/linux-cxx-install.sh
  displayName: Install
- bash: |
    set -e
    cd src/engine
    set PATH=${PATH};${CXX_PATH}
    ./build.sh ${TOOLSET}
    ./b2 -v
    cd ../..
    ./src/engine/b2 -a ${SANITIZER}=on optimization=debug toolset=${TOOLSET} b2
  displayName: Build
- bash: |
    set -e
    export B2=`find ${PWD}/.build -name b2b2`
    cd test
    ./test_all.py ${TOOLSET}
    cd ..
  displayName: Test
