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'
|
||||
# OSX macos/ios
|
||||
- os: osx
|
||||
name: osx-mac-ios
|
||||
osx_image: xcode11.4
|
||||
language: java
|
||||
jdk: openjdk12
|
||||
@ -28,6 +29,7 @@ matrix:
|
||||
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then bash ./macBuildAndPublish-mac-ios.sh; fi'
|
||||
# OSX watchos
|
||||
- os: osx
|
||||
name: osx-watchos
|
||||
osx_image: xcode11.4
|
||||
language: java
|
||||
jdk: openjdk12
|
||||
@ -40,6 +42,7 @@ matrix:
|
||||
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then bash ./macBuildAndPublish-watchos.sh; fi'
|
||||
# OSX tvos
|
||||
- os: osx
|
||||
name: osx-tvos
|
||||
osx_image: xcode11.4
|
||||
language: java
|
||||
jdk: openjdk12
|
||||
@ -52,6 +55,7 @@ matrix:
|
||||
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then bash ./macBuildAndPublish-tvos.sh; fi'
|
||||
# OSX pure
|
||||
- os: osx
|
||||
name: osx-pure
|
||||
osx_image: xcode11.4
|
||||
language: java
|
||||
jdk: openjdk12
|
||||
|
@ -18,5 +18,7 @@ cd ..
|
||||
./gradlew multiplatform-crypto-delegated:build
|
||||
#and finally pure build
|
||||
./gradlew multiplatform-crypto:build
|
||||
./gradlew publishJvmPublicationToSnapshotRepository publishJsPublicationToSnapshotRepository publishKotlinMultiplatformPublicationToSnapshotRepository publishLinuxX64PublicationToSnapshotRepository publishLinuxArm64PublicationToSnapshotRepository publishMetadataPublicationToSnapshotRepository
|
||||
./gradlew publishJvmPublicationToSnapshotRepository publishJsPublicationToSnapshotRepository \
|
||||
publishKotlinMultiplatformPublicationToSnapshotRepository publishLinuxX64PublicationToSnapshotRepository \
|
||||
publishLinuxArm64PublicationToSnapshotRepository publishMetadataPublicationToSnapshotRepository
|
||||
set +e
|
@ -4,8 +4,7 @@ set -e
|
||||
./gradlew multiplatform-crypto-api:build
|
||||
#now let's build linux deps
|
||||
cd sodiumWrapper
|
||||
./makeMacosX86-64.sh
|
||||
./makeIos.sh
|
||||
./makeTvos.sh
|
||||
#now we can do the delegated build of ios and macos libraries
|
||||
cd ..
|
||||
./gradlew multiplatform-crypto-delegated:tvosArm64MainKlibrary multiplatform-crypto-delegated:tvosArm64TestKlibrary \
|
||||
|
@ -4,8 +4,7 @@ set -e
|
||||
./gradlew multiplatform-crypto-api:build
|
||||
#now let's build linux deps
|
||||
cd sodiumWrapper
|
||||
./makeMacosX86-64.sh
|
||||
./makeIos.sh
|
||||
./makeWatchos.sh
|
||||
#now we can do the delegated build of ios and macos libraries
|
||||
cd ..
|
||||
./gradlew multiplatform-crypto-delegated:watchosArm32MainKlibrary multiplatform-crypto-delegated:watchosArm32TestKlibrary \
|
||||
|
@ -2,12 +2,6 @@ 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
|
||||
cd sodiumWrapper
|
||||
./makeMacosX86-64.sh
|
||||
./makeIos.sh
|
||||
#now we can do the delegated build of ios and macos libraries
|
||||
cd ..
|
||||
./gradlew multiplatform-crypto:publishIosArm32PublicationToMavenRepository \
|
||||
multiplatform-crypto:publishIosArm64PublicationToMavenRepository \
|
||||
multiplatform-crypto:publishIosX64PublicationToMavenRepository \
|
||||
|
@ -5,7 +5,7 @@ set -e
|
||||
#now let's build linux deps
|
||||
cd sodiumWrapper
|
||||
./makeMacosX86-64.sh
|
||||
./makeIos.sh
|
||||
./makeTvos.sh
|
||||
#now we can do the delegated build of ios and macos libraries
|
||||
cd ..
|
||||
./gradlew multiplatform-crypto-delegated:publishTvosArm64PublicationToMavenRepository \
|
||||
|
@ -4,8 +4,7 @@ set -e
|
||||
./gradlew multiplatform-crypto-api:build
|
||||
#now let's build linux deps
|
||||
cd sodiumWrapper
|
||||
./makeMacosX86-64.sh
|
||||
./makeIos.sh
|
||||
./makeWatchos.sh
|
||||
#now we can do the delegated build of ios and macos libraries
|
||||
cd ..
|
||||
./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