From 6ec9072f2729c5a0b17852d2e74904c10d89286a Mon Sep 17 00:00:00 2001 From: Edward Diener Date: Sat, 19 Sep 2020 17:46:22 -0400 Subject: [PATCH] Update yml to handle Boost Build bug with explicit alias when not invoking b2 from the test directory. --- .travis.yml | 4 +++- appveyor.yml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index f087241..c371759 100644 --- a/.travis.yml +++ b/.travis.yml @@ -394,7 +394,9 @@ install: script: - |- echo "using $TOOLSET : : $COMPILER ;" > ~/user-config.jam - - ./b2 -j 3 libs/preprocessor/test toolset=$TOOLSET cxxstd=$CXXSTD $PPLIMITS + - cd libs/preprocessor/test + - ../../../b2 -j 3 toolset=$TOOLSET cxxstd=$CXXSTD $PPLIMITS + - cd ../../.. notifications: email: diff --git a/appveyor.yml b/appveyor.yml index 9b3ee9f..78cbac6 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -84,7 +84,9 @@ for: - if not "%CXXSTD%" == "" set CXXSTD=cxxstd=%CXXSTD% - if not "%ADDRMD%" == "" set ADDRMD=address-model=%ADDRMD% - if not "%PREPROCESSOR%" == "" set PREPROCESSOR=cflags="%PREPROCESSOR%" - - b2 -j3 libs/preprocessor/test toolset=%TOOLSET% %CXXSTD% %ADDRMD% %PREPROCESSOR% variant=debug,release %PPLIMITS% + - cd libs/preprocessor/test + - ../../../b2 -j3 toolset=%TOOLSET% %CXXSTD% %ADDRMD% %PREPROCESSOR% variant=debug,release %PPLIMITS% + - cd ../../.. - matrix: