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

21 lines
649 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 fetch-indexes-cpp &&
rm -rf build; mkdir build && (cd build &&
cmake .. -DCMAKE_PREFIX_PATH="/srv/lubuntu-ci/repos/ci-tools;${CMAKE_PREFIX_PATH}" && make -j$(nproc)) &&
mv build/fetch-indexes ../ && rm -rf build)
(cd build-packages-cpp &&
rm -rf build; mkdir build && (cd build &&
cmake .. -DCMAKE_PREFIX_PATH="/srv/lubuntu-ci/repos/ci-tools;${CMAKE_PREFIX_PATH}" && make -j$(nproc)) &&
mv build/build-packages ../ && rm -rf build)