mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-25 02:55:23 +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-';
|
||||
|
||||
// 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)
|
||||
local clone_submodules = {
|
||||
name: 'Clone Submodules',
|
||||
@ -31,8 +22,8 @@ local ci_dep_mirror(want_mirror) = (if want_mirror then ' -DLOCAL_MIRROR=https:/
|
||||
clone_submodules,
|
||||
{
|
||||
name: 'Run Unit Tests',
|
||||
image: 'registry.oxen.rocks/lokinet-ci-android',
|
||||
pull: 'always',
|
||||
image: docker_base + 'android',
|
||||
commands: [
|
||||
'./gradlew testPlayDebugUnitTestCoverageReport'
|
||||
],
|
||||
@ -49,8 +40,8 @@ local ci_dep_mirror(want_mirror) = (if want_mirror then ' -DLOCAL_MIRROR=https:/
|
||||
steps: [
|
||||
{
|
||||
name: 'Poll for build artifact existence',
|
||||
image: 'registry.oxen.rocks/lokinet-ci-android',
|
||||
pull: 'always',
|
||||
image: docker_base + 'android',
|
||||
commands: [
|
||||
'./Scripts/drone-upload-exists.sh'
|
||||
]
|
||||
@ -68,20 +59,13 @@ local ci_dep_mirror(want_mirror) = (if want_mirror then ' -DLOCAL_MIRROR=https:/
|
||||
clone_submodules,
|
||||
{
|
||||
name: 'Build',
|
||||
image: 'registry.oxen.rocks/lokinet-ci-android',
|
||||
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' } },
|
||||
commands: [
|
||||
'./gradlew assemblePlayDebug',
|
||||
'./Scripts/drone-static-upload.sh'
|
||||
]
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user