mirror of https://github.com/cutefishos/calamares
Add CI tooling.
parent
31204db5ee
commit
b42ea45409
@ -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
|
@ -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 <teo@kde.org>' --message='Automatic merge of Transifex translations' | true
|
||||||
|
git push --set-upstream origin master
|
Loading…
Reference in New Issue