Try the way I build locally

This commit is contained in:
Christopher Dunn 2018-06-23 16:34:57 -05:00
parent 473afca1e3
commit c59db80002
2 changed files with 7 additions and 2 deletions

View File

@ -45,8 +45,10 @@ Then,
LIB_TYPE=shared LIB_TYPE=shared
#LIB_TYPE=static #LIB_TYPE=static
meson --buildtype ${BUILD_TYPE} --default-library ${LIB_TYPE} . build-${LIB_TYPE} meson --buildtype ${BUILD_TYPE} --default-library ${LIB_TYPE} . build-${LIB_TYPE}
ninja -v -C build-${LIB_TYPE} test #ninja -v -C build-${LIB_TYPE} test # This stopped working on my Mac.
ninja -v -C build-${LIB_TYPE}
cd build-${LIB_TYPE} cd build-${LIB_TYPE}
meson test --no-rebuild --print-errorlogs
sudo ninja install sudo ninja install
### Building and testing with other build systems ### Building and testing with other build systems

View File

@ -21,5 +21,8 @@ meson --version
ninja --version ninja --version
meson --buildtype ${BUILD_TYPE} --default-library ${LIB_TYPE} . build-${LIB_TYPE} meson --buildtype ${BUILD_TYPE} --default-library ${LIB_TYPE} . build-${LIB_TYPE}
ninja -v -C build-${LIB_TYPE} ninja -v -C build-${LIB_TYPE}
ninja -v -C build-${LIB_TYPE} test #ninja -v -C build-${LIB_TYPE} test
cd build-${LIB_TYPE}
meson test --no-rebuild --print-errorlogs
cd -
rm -r build-${LIB_TYPE} rm -r build-${LIB_TYPE}