You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ci-tools/pull-and-compile-tooling

17 lines
446 B

#!/bin/bash
git pull
(cd ../launchpadlib-cpp && git pull &&
rm -rf build; mkdir build && (cd build &&
cmake .. &&
make -j$(nproc) &&
cmake --install . --prefix /srv/lubuntu-ci/repos/ci-tools) &&
rm -rf build)
(cd cpp &&
rm -rf build; mkdir build && (cd build &&
cmake .. -DCMAKE_PREFIX_PATH="/srv/lubuntu-ci/repos/ci-tools;${CMAKE_PREFIX_PATH}" &&
make -j$(nproc) && cmake --install . --prefix /srv/lubuntu-ci/repos/ci-tools) &&
rm -rf build)