diff --git a/ci/buildall.sh b/ci/buildall.sh new file mode 100755 index 000000000..b9fdd9cd1 --- /dev/null +++ b/ci/buildall.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +rm -Rf "$WORKSPACE/prefix" +mkdir "$WORKSPACE/prefix" + +git clone git://anongit.kde.org/kpmcore "$WORKSPACE/kpmcore" +cd "$WORKSPACE/kpmcore" +mkdir "$WORKSPACE/kpmcore/build" +cd "$WORKSPACE/kpmcore/build" +cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/usr .. +nice -n 18 make -j2 +make DESTDIR="$WORKSPACE/prefix" install + +rm -Rf "$WORKSPACE/build" +mkdir "$WORKSPACE/build" +cd "$WORKSPACE/build" + +CMAKE_PREFIX_PATH="$WORKSPACE/prefix/usr" cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/usr .. +nice -n 18 make -j2 \ No newline at end of file diff --git a/ci/txpull.sh b/ci/txpull.sh new file mode 100755 index 000000000..8e5c760e3 --- /dev/null +++ b/ci/txpull.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +# Make sure we can make Transifex and git operations from the Calamares Docker+Jenkins environment. +cp ~/jenkins-master/.transifexrc ~ +cp ~/jenkins-master/.gitconfig ~ +cp -R ~/jenkins-master/.ssh ~ + +cd "$WORKSPACE" +git config --global http.sslVerify false + +export QT_SELECT=5 +tx pull --force --source --all +git add --verbose lang/calamares*.ts +git commit --author='Calamares CI ' --message='Automatic merge of Transifex translations' | true +git push --set-upstream origin master