Merge branch 'master' into delegated-aes

This commit is contained in:
Ugljesa Jovanovic 2020-06-13 21:05:51 +02:00
commit 16ced7f900
No known key found for this signature in database
GPG Key ID: 178E6DFCECCB0E0F
5 changed files with 45 additions and 6 deletions

View File

@ -130,7 +130,7 @@ matrix:
- $msys2 pacman --sync --clean --noconfirm - $msys2 pacman --sync --clean --noconfirm
script: script:
- 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then $shell ./windowsBuild-delegated.sh; fi' - 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then $shell ./windowsBuild-delegated.sh; fi'
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then ./windowsBuildAndPublish-delegated.sh; fi' - 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then $shell ./windowsBuildAndPublish-delegated.sh; fi'
cache: cache:
directories: directories:
- $HOME/.m2/ - $HOME/.m2/

View File

@ -2,9 +2,9 @@ set -e
#!/bin/sh #!/bin/sh
#this will hopefully download all konan dependancies that we use in the build scripts #this will hopefully download all konan dependancies that we use in the build scripts
./gradlew multiplatform-crypto-api:build ./gradlew multiplatform-crypto-api:build
./gradlew multiplatform-crypto:publishIosArm32PublicationToSnapshotRepository \ ./gradlew multiplatform-crypto:publishIos32ArmPublicationToSnapshotRepository \
multiplatform-crypto:publishIosArm64PublicationToSnapshotRepository \ multiplatform-crypto:publishIos64ArmPublicationToSnapshotRepository \
multiplatform-crypto:publishIosX64PublicationToSnapshotRepository \ multiplatform-crypto:publishIosPublicationToSnapshotRepository \
multiplatform-crypto:publishMacosX64PublicationToSnapshotRepository \ multiplatform-crypto:publishMacosX64PublicationToSnapshotRepository \
multiplatform-crypto:publishTvosArm64PublicationToSnapshotRepository \ multiplatform-crypto:publishTvosArm64PublicationToSnapshotRepository \
multiplatform-crypto:publishTvosX64PublicationToSnapshotRepository \ multiplatform-crypto:publishTvosX64PublicationToSnapshotRepository \

View File

@ -130,6 +130,45 @@ kotlin {
} }
} }
} }
tvosX64() {
binaries {
framework {
optimized = true
}
}
}
tvosArm64() {
binaries {
framework {
optimized = true
}
}
}
watchosArm64() {
binaries {
framework {
optimized = true
}
}
}
watchosArm32() {
binaries {
framework {
optimized = true
}
}
}
watchosX86() {
binaries {
framework {
optimized = true
}
}
}
} }
runningOnWindows { runningOnWindows {

View File

@ -14,5 +14,5 @@ echo "completed libsodium build"
#now we can do the delegated build #now we can do the delegated build
cd .. cd ..
./gradlew multiplatform-crypto-delegated:build ./gradlew multiplatform-crypto-delegated:build
./gradlew multiplatform-crypto-delegated:publishMingwX64PublicationToSnapshotMavenRepository ./gradlew multiplatform-crypto-delegated:publishMingwX64PublicationToSnapshotRepository
set +e set +e

View File

@ -4,5 +4,5 @@ set -e
./gradlew multiplatform-crypto-api:build ./gradlew multiplatform-crypto-api:build
./gradlew multiplatform-crypto:build ./gradlew multiplatform-crypto:build
./gradlew multiplatform-crypto:publishMingwX64PublicationToSnapshotMavenRepository ./gradlew multiplatform-crypto:publishMingwX64PublicationToSnapshotRepository
set +e set +e