All checks were successful
continuous-integration/drone/push Build is passing
reviewed-on: #9 Co-authored-by: light7734 <light7734@tuta.io> Co-committed-by: light7734 <light7734@tuta.io>
18 lines
385 B
Bash
Executable file
18 lines
385 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -e
|
|
cd $(git rev-parse --show-toplevel)/
|
|
rm -rf ./build
|
|
|
|
conan build . \
|
|
-c tools.system.package_manager:mode=install \
|
|
-c tools.cmake.cmaketoolchain:generator=Ninja \
|
|
-s build_type=Release \
|
|
-o enable_tests=True \
|
|
-o use_mold=True \
|
|
--build=missing
|
|
|
|
for test in $(find ./build -type f -name '*_tests' -executable); do
|
|
echo "Running $test"
|
|
"$test"
|
|
done
|