upload_native: more debugging
This commit is contained in:
parent
1fd9797007
commit
e268c3b9fe
1
.gitignore
vendored
1
.gitignore
vendored
@ -19,6 +19,7 @@
|
|||||||
/jme3-core/src/main/resources/com/jme3/system/version.properties
|
/jme3-core/src/main/resources/com/jme3/system/version.properties
|
||||||
/jme3-*/build/
|
/jme3-*/build/
|
||||||
/jme3-bullet-native/bullet.zip
|
/jme3-bullet-native/bullet.zip
|
||||||
|
/jme3-bullet-native/bullet3.zip
|
||||||
/jme3-bullet-native/bullet-2.82-r2704/
|
/jme3-bullet-native/bullet-2.82-r2704/
|
||||||
/jme3-bullet-native/bullet3-2.83.7/
|
/jme3-bullet-native/bullet3-2.83.7/
|
||||||
/jme3-android-native/openal-soft/
|
/jme3-android-native/openal-soft/
|
||||||
|
@ -1,15 +1,16 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
set -e
|
set -euo pipefail
|
||||||
NATIVE_CHANGES="$(git diff-tree --name-only "$TRAVIS_COMMIT" -- jme3-bullet-native/)"
|
# NATIVE_CHANGES="$(git diff-tree --name-only "$TRAVIS_COMMIT" -- jme3-bullet-native/)"
|
||||||
if [ "$NATIVE_CHANGES" != "" ]; then
|
# if [ "$NATIVE_CHANGES" != "" ]; then
|
||||||
git config --global user.email "travis-ci"
|
git config --global user.email "travis-ci"
|
||||||
git config --global user.name "travis-ci"
|
git config --global user.name "travis-ci"
|
||||||
./gradlew -PbuildNativeProjects=true :jme3-bullet-native:assemble
|
# ./gradlew -PbuildNativeProjects=true :jme3-bullet-native:assemble
|
||||||
openssl aes-256-cbc -K $encrypted_f0a0b284e2e8_key -iv $encrypted_f0a0b284e2e8_iv -in private/key.enc -out "$HOME/.ssh/id_rsa" -d
|
# openssl aes-256-cbc -K $encrypted_f0a0b284e2e8_key -iv $encrypted_f0a0b284e2e8_iv -in private/key.enc -out "$HOME/.ssh/id_rsa" -d
|
||||||
chmod 600 "$HOME/.ssh/id_rsa"
|
# chmod 600 "$HOME/.ssh/id_rsa"
|
||||||
git checkout -q "$TRAVIS_BRANCH"
|
md5sum jme3-bullet-native/build/libs/bulletjme/shared/linux32/libbulletjme.so jme3-bullet-native/libs/native/linux/x86/libbulletjme.so
|
||||||
git add -- jme3-bullet-native/libs/native/
|
git checkout "$TRAVIS_BRANCH"
|
||||||
git commit -m "[ci skip] bullet: update $TRAVIS_OS_NAME natives"
|
git add -v -- jme3-bullet-native/libs/native/
|
||||||
|
git commit -v -m "[ci skip] bullet: update $TRAVIS_OS_NAME natives"
|
||||||
git pull -q --rebase
|
git pull -q --rebase
|
||||||
git push git@github.com:jMonkeyEngine/jmonkeyengine.git
|
git push git@github.com:jMonkeyEngine/jmonkeyengine.git
|
||||||
fi
|
# fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user