2020-08-18 16:31:36 +02:00
|
|
|
#!/bin/bash -e
|
2020-08-18 17:27:52 +02:00
|
|
|
if [ "$TRAVIS_CPU_ARCH" = "arm64" ]; then
|
|
|
|
export TRAVIS_CPU_ARCH_STANDARD="aarch64"
|
|
|
|
else
|
|
|
|
export TRAVIS_CPU_ARCH_STANDARD="${TRAVIS_CPU_ARCH,,}"
|
|
|
|
fi
|
|
|
|
export TRAVIS_OS_NAME_STANDARD="${TRAVIS_OS_NAME,,}"
|
|
|
|
|
|
|
|
echo "TRAVIS_OS_NAME: $TRAVIS_OS_NAME"
|
|
|
|
echo "TRAVIS_OS_NAME_STANDARD: $TRAVIS_OS_NAME_STANDARD"
|
|
|
|
echo "TRAVIS_CPU_ARCH: $TRAVIS_CPU_ARCH"
|
|
|
|
echo "TRAVIS_CPU_ARCH_STANDARD: $TRAVIS_CPU_ARCH_STANDARD"
|
|
|
|
|
2020-08-18 18:01:10 +02:00
|
|
|
echo "$GIT_IGN_TRAVIS_DEPLOY_PRIVATE_KEY" | base64 -d > ~/.ssh/id_rsa
|
2020-08-18 17:38:36 +02:00
|
|
|
chmod 600 ~/.ssh/id_rsa
|
2020-08-18 17:27:52 +02:00
|
|
|
|
2020-08-18 17:44:42 +02:00
|
|
|
|
2020-08-18 17:31:59 +02:00
|
|
|
ssh-keyscan ssh.git.ignuranza.net >> $HOME/.ssh/known_hosts
|
|
|
|
ssh-keyscan git.ignuranza.net >> $HOME/.ssh/known_hosts
|
2020-08-18 17:27:52 +02:00
|
|
|
git clone "git@ssh.git.ignuranza.net:tdlight-team/tdlight-java-natives-$TRAVIS_OS_NAME_STANDARD-$TRAVIS_CPU_ARCH_STANDARD.git"
|
2020-08-18 17:31:59 +02:00
|
|
|
git push
|
2020-08-18 17:27:52 +02:00
|
|
|
cd "tdlight-java-natives-$TRAVIS_OS_NAME_STANDARD-$TRAVIS_CPU_ARCH_STANDARD"
|
|
|
|
ls -alch
|
|
|
|
|
2020-08-18 16:35:14 +02:00
|
|
|
ls -alch $TRAVIS_BUILD_DIR/out
|
|
|
|
ls -alch $TRAVIS_BUILD_DIR
|