Fixed osx scripts, added windows script
This commit is contained in:
parent
646df7f599
commit
a654481ba5
@ -16,6 +16,7 @@ matrix:
|
|||||||
# - 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then bash ./linuxBuildAndPublish.sh; fi'
|
# - 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then bash ./linuxBuildAndPublish.sh; fi'
|
||||||
# OSX macos/ios
|
# OSX macos/ios
|
||||||
- os: osx
|
- os: osx
|
||||||
|
name: osx-mac-ios
|
||||||
osx_image: xcode11.4
|
osx_image: xcode11.4
|
||||||
language: java
|
language: java
|
||||||
jdk: openjdk12
|
jdk: openjdk12
|
||||||
@ -28,6 +29,7 @@ matrix:
|
|||||||
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then bash ./macBuildAndPublish-mac-ios.sh; fi'
|
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then bash ./macBuildAndPublish-mac-ios.sh; fi'
|
||||||
# OSX watchos
|
# OSX watchos
|
||||||
- os: osx
|
- os: osx
|
||||||
|
name: osx-watchos
|
||||||
osx_image: xcode11.4
|
osx_image: xcode11.4
|
||||||
language: java
|
language: java
|
||||||
jdk: openjdk12
|
jdk: openjdk12
|
||||||
@ -40,6 +42,7 @@ matrix:
|
|||||||
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then bash ./macBuildAndPublish-watchos.sh; fi'
|
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then bash ./macBuildAndPublish-watchos.sh; fi'
|
||||||
# OSX tvos
|
# OSX tvos
|
||||||
- os: osx
|
- os: osx
|
||||||
|
name: osx-tvos
|
||||||
osx_image: xcode11.4
|
osx_image: xcode11.4
|
||||||
language: java
|
language: java
|
||||||
jdk: openjdk12
|
jdk: openjdk12
|
||||||
@ -52,6 +55,7 @@ matrix:
|
|||||||
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then bash ./macBuildAndPublish-tvos.sh; fi'
|
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then bash ./macBuildAndPublish-tvos.sh; fi'
|
||||||
# OSX pure
|
# OSX pure
|
||||||
- os: osx
|
- os: osx
|
||||||
|
name: osx-pure
|
||||||
osx_image: xcode11.4
|
osx_image: xcode11.4
|
||||||
language: java
|
language: java
|
||||||
jdk: openjdk12
|
jdk: openjdk12
|
||||||
|
@ -18,5 +18,7 @@ cd ..
|
|||||||
./gradlew multiplatform-crypto-delegated:build
|
./gradlew multiplatform-crypto-delegated:build
|
||||||
#and finally pure build
|
#and finally pure build
|
||||||
./gradlew multiplatform-crypto:build
|
./gradlew multiplatform-crypto:build
|
||||||
./gradlew publishJvmPublicationToSnapshotRepository publishJsPublicationToSnapshotRepository publishKotlinMultiplatformPublicationToSnapshotRepository publishLinuxX64PublicationToSnapshotRepository publishLinuxArm64PublicationToSnapshotRepository publishMetadataPublicationToSnapshotRepository
|
./gradlew publishJvmPublicationToSnapshotRepository publishJsPublicationToSnapshotRepository \
|
||||||
|
publishKotlinMultiplatformPublicationToSnapshotRepository publishLinuxX64PublicationToSnapshotRepository \
|
||||||
|
publishLinuxArm64PublicationToSnapshotRepository publishMetadataPublicationToSnapshotRepository
|
||||||
set +e
|
set +e
|
@ -4,8 +4,7 @@ set -e
|
|||||||
./gradlew multiplatform-crypto-api:build
|
./gradlew multiplatform-crypto-api:build
|
||||||
#now let's build linux deps
|
#now let's build linux deps
|
||||||
cd sodiumWrapper
|
cd sodiumWrapper
|
||||||
./makeMacosX86-64.sh
|
./makeTvos.sh
|
||||||
./makeIos.sh
|
|
||||||
#now we can do the delegated build of ios and macos libraries
|
#now we can do the delegated build of ios and macos libraries
|
||||||
cd ..
|
cd ..
|
||||||
./gradlew multiplatform-crypto-delegated:tvosArm64MainKlibrary multiplatform-crypto-delegated:tvosArm64TestKlibrary \
|
./gradlew multiplatform-crypto-delegated:tvosArm64MainKlibrary multiplatform-crypto-delegated:tvosArm64TestKlibrary \
|
||||||
|
@ -4,8 +4,7 @@ set -e
|
|||||||
./gradlew multiplatform-crypto-api:build
|
./gradlew multiplatform-crypto-api:build
|
||||||
#now let's build linux deps
|
#now let's build linux deps
|
||||||
cd sodiumWrapper
|
cd sodiumWrapper
|
||||||
./makeMacosX86-64.sh
|
./makeWatchos.sh
|
||||||
./makeIos.sh
|
|
||||||
#now we can do the delegated build of ios and macos libraries
|
#now we can do the delegated build of ios and macos libraries
|
||||||
cd ..
|
cd ..
|
||||||
./gradlew multiplatform-crypto-delegated:watchosArm32MainKlibrary multiplatform-crypto-delegated:watchosArm32TestKlibrary \
|
./gradlew multiplatform-crypto-delegated:watchosArm32MainKlibrary multiplatform-crypto-delegated:watchosArm32TestKlibrary \
|
||||||
|
@ -2,12 +2,6 @@ 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
|
||||||
#now let's build linux deps
|
|
||||||
cd sodiumWrapper
|
|
||||||
./makeMacosX86-64.sh
|
|
||||||
./makeIos.sh
|
|
||||||
#now we can do the delegated build of ios and macos libraries
|
|
||||||
cd ..
|
|
||||||
./gradlew multiplatform-crypto:publishIosArm32PublicationToMavenRepository \
|
./gradlew multiplatform-crypto:publishIosArm32PublicationToMavenRepository \
|
||||||
multiplatform-crypto:publishIosArm64PublicationToMavenRepository \
|
multiplatform-crypto:publishIosArm64PublicationToMavenRepository \
|
||||||
multiplatform-crypto:publishIosX64PublicationToMavenRepository \
|
multiplatform-crypto:publishIosX64PublicationToMavenRepository \
|
||||||
|
@ -5,7 +5,7 @@ set -e
|
|||||||
#now let's build linux deps
|
#now let's build linux deps
|
||||||
cd sodiumWrapper
|
cd sodiumWrapper
|
||||||
./makeMacosX86-64.sh
|
./makeMacosX86-64.sh
|
||||||
./makeIos.sh
|
./makeTvos.sh
|
||||||
#now we can do the delegated build of ios and macos libraries
|
#now we can do the delegated build of ios and macos libraries
|
||||||
cd ..
|
cd ..
|
||||||
./gradlew multiplatform-crypto-delegated:publishTvosArm64PublicationToMavenRepository \
|
./gradlew multiplatform-crypto-delegated:publishTvosArm64PublicationToMavenRepository \
|
||||||
|
@ -4,8 +4,7 @@ set -e
|
|||||||
./gradlew multiplatform-crypto-api:build
|
./gradlew multiplatform-crypto-api:build
|
||||||
#now let's build linux deps
|
#now let's build linux deps
|
||||||
cd sodiumWrapper
|
cd sodiumWrapper
|
||||||
./makeMacosX86-64.sh
|
./makeWatchos.sh
|
||||||
./makeIos.sh
|
|
||||||
#now we can do the delegated build of ios and macos libraries
|
#now we can do the delegated build of ios and macos libraries
|
||||||
cd ..
|
cd ..
|
||||||
./gradlew multiplatform-crypto-delegated:publishWatchosArm32PublicationToMavenRepository \
|
./gradlew multiplatform-crypto-delegated:publishWatchosArm32PublicationToMavenRepository \
|
||||||
|
13
windowsBuild.sh
Normal file
13
windowsBuild.sh
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
set -e
|
||||||
|
#!/bin/sh
|
||||||
|
#this will hopefully download all konan dependancies that we use in the build scripts
|
||||||
|
./gradlew multiplatform-crypto-api:build
|
||||||
|
cd sodiumWrapper
|
||||||
|
./makeMingwX86-64.sh
|
||||||
|
#now we can do the delegated build
|
||||||
|
cd ..
|
||||||
|
./gradlew multiplatform-crypto-delegated:build
|
||||||
|
#and finally pure build
|
||||||
|
./gradlew multiplatform-crypto:build
|
||||||
|
set +e
|
||||||
|
|
24
windowsBuildAndPublish.sh
Normal file
24
windowsBuildAndPublish.sh
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
set -e
|
||||||
|
#!/bin/sh
|
||||||
|
#this will hopefully download all konan dependancies that we use in the build scripts
|
||||||
|
./gradlew multiplatform-crypto-api:build
|
||||||
|
#now let's build linux deps
|
||||||
|
export CLANG_BIN=$HOME/.konan/dependencies/clang-llvm-8.0.0-linux-x86-64/bin
|
||||||
|
cd sodiumWrapper
|
||||||
|
./makeLinuxX86-64.sh
|
||||||
|
#Workaround for travis using wrong ld
|
||||||
|
if [ "$TRAVIS" = "true" ]
|
||||||
|
then
|
||||||
|
sudo mv /usr/bin/ld /usr/bin/ld.bck
|
||||||
|
sudo ln -s $CLANG_BIN/ld.lld /usr/bin/ld
|
||||||
|
fi
|
||||||
|
./makeLinuxArm64.sh
|
||||||
|
#now we can do the delegated build
|
||||||
|
cd ..
|
||||||
|
./gradlew multiplatform-crypto-delegated:build
|
||||||
|
#and finally pure build
|
||||||
|
./gradlew multiplatform-crypto:build
|
||||||
|
./gradlew publishJvmPublicationToSnapshotRepository publishJsPublicationToSnapshotRepository \
|
||||||
|
publishKotlinMultiplatformPublicationToSnapshotRepository publishLinuxX64PublicationToSnapshotRepository \
|
||||||
|
publishLinuxArm64PublicationToSnapshotRepository publishMetadataPublicationToSnapshotRepository
|
||||||
|
set +e
|
Loading…
x
Reference in New Issue
Block a user