|
|
|
@ -12,6 +12,7 @@ local version_info = {
|
|
|
|
|
// 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',
|
|
|
|
|
image: 'drone/git',
|
|
|
|
|
commands: ['git fetch --tags', 'git submodule update --init --recursive --depth=2 --jobs=4']
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
@ -27,7 +28,6 @@ local ci_dep_mirror(want_mirror) = (if want_mirror then ' -DLOCAL_MIRROR=https:/
|
|
|
|
|
platform: { arch: 'amd64' },
|
|
|
|
|
trigger: { event: { exclude: [ 'push' ] } },
|
|
|
|
|
steps: [
|
|
|
|
|
version_info,
|
|
|
|
|
clone_submodules,
|
|
|
|
|
{
|
|
|
|
|
name: 'Run Unit Tests',
|
|
|
|
@ -65,7 +65,6 @@ local ci_dep_mirror(want_mirror) = (if want_mirror then ' -DLOCAL_MIRROR=https:/
|
|
|
|
|
platform: { arch: 'amd64' },
|
|
|
|
|
trigger: { event: { exclude: [ 'pull_request' ] } },
|
|
|
|
|
steps: [
|
|
|
|
|
version_info,
|
|
|
|
|
clone_submodules,
|
|
|
|
|
{
|
|
|
|
|
name: 'Build',
|
|
|
|
|