mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-28 20:45:17 +00:00
More debugging attempts
This commit is contained in:
parent
dd905a9254
commit
79e545b7d1
@ -1,14 +1,5 @@
|
|||||||
local docker_base = 'registry.oxen.rocks/lokinet-ci-';
|
local docker_base = 'registry.oxen.rocks/lokinet-ci-';
|
||||||
|
|
||||||
// Log a bunch of version information to make it easier for debugging
|
|
||||||
local version_info = {
|
|
||||||
name: 'Version Information',
|
|
||||||
commands: [
|
|
||||||
'/usr/lib/android-ndk --version',
|
|
||||||
'/usr/lib/android-sdk --version'
|
|
||||||
]
|
|
||||||
};
|
|
||||||
|
|
||||||
// Intentionally doing a depth of 2 as libSession-util has it's own submodules (and libLokinet likely will as well)
|
// Intentionally doing a depth of 2 as libSession-util has it's own submodules (and libLokinet likely will as well)
|
||||||
local clone_submodules = {
|
local clone_submodules = {
|
||||||
name: 'Clone Submodules',
|
name: 'Clone Submodules',
|
||||||
@ -31,8 +22,8 @@ local ci_dep_mirror(want_mirror) = (if want_mirror then ' -DLOCAL_MIRROR=https:/
|
|||||||
clone_submodules,
|
clone_submodules,
|
||||||
{
|
{
|
||||||
name: 'Run Unit Tests',
|
name: 'Run Unit Tests',
|
||||||
|
image: 'registry.oxen.rocks/lokinet-ci-android',
|
||||||
pull: 'always',
|
pull: 'always',
|
||||||
image: docker_base + 'android',
|
|
||||||
commands: [
|
commands: [
|
||||||
'./gradlew testPlayDebugUnitTestCoverageReport'
|
'./gradlew testPlayDebugUnitTestCoverageReport'
|
||||||
],
|
],
|
||||||
@ -49,8 +40,8 @@ local ci_dep_mirror(want_mirror) = (if want_mirror then ' -DLOCAL_MIRROR=https:/
|
|||||||
steps: [
|
steps: [
|
||||||
{
|
{
|
||||||
name: 'Poll for build artifact existence',
|
name: 'Poll for build artifact existence',
|
||||||
|
image: 'registry.oxen.rocks/lokinet-ci-android',
|
||||||
pull: 'always',
|
pull: 'always',
|
||||||
image: docker_base + 'android',
|
|
||||||
commands: [
|
commands: [
|
||||||
'./Scripts/drone-upload-exists.sh'
|
'./Scripts/drone-upload-exists.sh'
|
||||||
]
|
]
|
||||||
@ -68,20 +59,13 @@ local ci_dep_mirror(want_mirror) = (if want_mirror then ' -DLOCAL_MIRROR=https:/
|
|||||||
clone_submodules,
|
clone_submodules,
|
||||||
{
|
{
|
||||||
name: 'Build',
|
name: 'Build',
|
||||||
|
image: 'registry.oxen.rocks/lokinet-ci-android',
|
||||||
pull: 'always',
|
pull: 'always',
|
||||||
image: docker_base + 'android',
|
|
||||||
commands: [
|
|
||||||
'./gradlew assemblePlayDebug'
|
|
||||||
],
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Upload artifacts',
|
|
||||||
pull: 'always',
|
|
||||||
image: docker_base + 'android',
|
|
||||||
environment: { SSH_KEY: { from_secret: 'SSH_KEY' } },
|
environment: { SSH_KEY: { from_secret: 'SSH_KEY' } },
|
||||||
commands: [
|
commands: [
|
||||||
|
'./gradlew assemblePlayDebug',
|
||||||
'./Scripts/drone-static-upload.sh'
|
'./Scripts/drone-static-upload.sh'
|
||||||
]
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user