Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
ganthern committed Jan 31, 2025
1 parent e39bf8b commit 0e6871b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 39 deletions.
39 changes: 2 additions & 37 deletions ci/merge.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -31,48 +31,13 @@ pipeline {
}

stages {
stage("git") {
parallel {
stage("git checkout mac") {
when {
expression {
return true
}
}
agent {
label targetMac
}
steps {
git(
url: "[email protected]:tutao/tutanota.git",
branch: params.BRANCH_NAME,
changelog: true,
poll: true
)
}
}

stage("git fetch and switch to branch") {

steps {
git(
url: "[email protected]:tutao/tutanota.git",
branch: params.BRANCH_NAME,
changelog: true,
poll: true
)

}
}
}
}
stage("sync submodules") {
steps {
sh '''
sh """ git switch ${params.BRANCH_NAME}
git submodule init
git submodule sync --recursive
git submodule update
'''
"""
script {
def successfulMasterFetch = sh(returnStatus: true, script: "git fetch origin master:master").toInteger()
if (successfulMasterFetch != 0) {
Expand Down
4 changes: 2 additions & 2 deletions tuta-sdk/android/sdk/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ tasks.register("generateBinding") {
doLast {
exec {
this.executable("mkdir")
this.args("-p", "${layout.buildDirectory.asFile.get()}/rustJniLibs/android/${dir}")
this.args("-p", "${layout.buildDirectory.asFile.get()}/jniLibs/android/${dir}")
}
exec {
this.workingDir("../../rust")
Expand All @@ -123,7 +123,7 @@ tasks.register("generateBinding") {
"uniffi-bindgen",
"generate",
"--library",
"${layout.buildDirectory.asFile.get()}/rustJniLibs/android/${dir}/libtutasdk.so",
"${layout.buildDirectory.asFile.get()}/jniLibs/android/${dir}/libtutasdk.so",
"--language",
"kotlin",
"--out-dir",
Expand Down

0 comments on commit 0e6871b

Please sign in to comment.