Figuring out linux build with sodium
This commit is contained in:
parent
ad1cbfcaa9
commit
9255bc44fa
48
.travis.yml
48
.travis.yml
@ -13,33 +13,35 @@ matrix:
|
|||||||
script:
|
script:
|
||||||
- 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then bash ./linuxBuild.sh; fi'
|
- 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then bash ./linuxBuild.sh; fi'
|
||||||
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then bash ./linuxBuildAndPublish.sh; fi'
|
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then bash ./linuxBuildAndPublish.sh; fi'
|
||||||
- os: osx
|
# - os: osx
|
||||||
osx_image: xcode11.4
|
# osx_image: xcode11.4
|
||||||
language: java
|
# language: java
|
||||||
jdk: openjdk12
|
# jdk: openjdk12
|
||||||
|
# -------------------------
|
||||||
# before_script:
|
# before_script:
|
||||||
# - wget https://github.com/sormuras/bach/raw/master/install-jdk.sh
|
# - wget https://github.com/sormuras/bach/raw/master/install-jdk.sh
|
||||||
# - source install-jdk.sh --url 'https://api.adoptopenjdk.net/v2/binary/releases/openjdk12?openjdk_impl=hotspot&os=linux&arch=x64&release=latest&heap_size=normal&type=jdk'
|
# - source install-jdk.sh --url 'https://api.adoptopenjdk.net/v2/binary/releases/openjdk12?openjdk_impl=hotspot&os=linux&arch=x64&release=latest&heap_size=normal&type=jdk'
|
||||||
# - java --version
|
# - java --version
|
||||||
env:
|
# -------------------------
|
||||||
KBUILD=linux
|
# env:
|
||||||
JAVA_OPTS=-Xmx2g
|
# KBUILD=linux
|
||||||
script:
|
# JAVA_OPTS=-Xmx2g
|
||||||
- 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then bash ./macBuild.sh; fi'
|
# script:
|
||||||
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then bash ./macBuildAndPublish.sh; fi'
|
# - 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then bash ./macBuild.sh; fi'
|
||||||
- os: windows
|
# - 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then bash ./macBuildAndPublish.sh; fi'
|
||||||
language: shell
|
# - os: windows
|
||||||
jdk: openjdk12
|
# language: shell
|
||||||
env:
|
# jdk: openjdk12
|
||||||
- GRAVIS="https://raw.githubusercontent.com/DanySK/Gravis-CI/master/"
|
# env:
|
||||||
- JAVA_OPTS=-Xmx2g
|
# - GRAVIS="https://raw.githubusercontent.com/DanySK/Gravis-CI/master/"
|
||||||
- JDK="adopt-openj9@1.11"
|
# - JAVA_OPTS=-Xmx2g
|
||||||
before_install:
|
# - JDK="adopt-openj9@1.11"
|
||||||
- curl "${GRAVIS}.install-jdk-travis.sh" --output ~/.install-jdk-travis.sh
|
# before_install:
|
||||||
- source ~/.install-jdk-travis.sh
|
# - curl "${GRAVIS}.install-jdk-travis.sh" --output ~/.install-jdk-travis.sh
|
||||||
script:
|
# - source ~/.install-jdk-travis.sh
|
||||||
- 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then ./gradlew build ; fi'
|
# script:
|
||||||
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then ./gradlew build publishMingwx64PublicationToSnapshotRepository; fi'
|
# - 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then ./gradlew build ; fi'
|
||||||
|
# - 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then ./gradlew build publishMingwx64PublicationToSnapshotRepository; fi'
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- $HOME/.m2/
|
- $HOME/.m2/
|
||||||
|
@ -1 +1,13 @@
|
|||||||
./gradlew build
|
#!/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
|
||||||
|
./makeLinux64.sh
|
||||||
|
./makeLinuxArm64.sh
|
||||||
|
#now we can do the delegated build
|
||||||
|
./gradlew multiplatform-crypto-delegated:build
|
||||||
|
#and finally pure build
|
||||||
|
./gradlew multiplatform-crypto:build
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user