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:
|
||||
- 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then bash ./linuxBuild.sh; fi'
|
||||
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then bash ./linuxBuildAndPublish.sh; fi'
|
||||
- os: osx
|
||||
osx_image: xcode11.4
|
||||
language: java
|
||||
jdk: openjdk12
|
||||
# - os: osx
|
||||
# osx_image: xcode11.4
|
||||
# language: java
|
||||
# jdk: openjdk12
|
||||
# -------------------------
|
||||
# before_script:
|
||||
# - 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'
|
||||
# - java --version
|
||||
env:
|
||||
KBUILD=linux
|
||||
JAVA_OPTS=-Xmx2g
|
||||
script:
|
||||
- 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then bash ./macBuild.sh; fi'
|
||||
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then bash ./macBuildAndPublish.sh; fi'
|
||||
- os: windows
|
||||
language: shell
|
||||
jdk: openjdk12
|
||||
env:
|
||||
- GRAVIS="https://raw.githubusercontent.com/DanySK/Gravis-CI/master/"
|
||||
- JAVA_OPTS=-Xmx2g
|
||||
- JDK="adopt-openj9@1.11"
|
||||
before_install:
|
||||
- curl "${GRAVIS}.install-jdk-travis.sh" --output ~/.install-jdk-travis.sh
|
||||
- source ~/.install-jdk-travis.sh
|
||||
script:
|
||||
- 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then ./gradlew build ; fi'
|
||||
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then ./gradlew build publishMingwx64PublicationToSnapshotRepository; fi'
|
||||
# -------------------------
|
||||
# env:
|
||||
# KBUILD=linux
|
||||
# JAVA_OPTS=-Xmx2g
|
||||
# script:
|
||||
# - 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then bash ./macBuild.sh; fi'
|
||||
# - 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then bash ./macBuildAndPublish.sh; fi'
|
||||
# - os: windows
|
||||
# language: shell
|
||||
# jdk: openjdk12
|
||||
# env:
|
||||
# - GRAVIS="https://raw.githubusercontent.com/DanySK/Gravis-CI/master/"
|
||||
# - JAVA_OPTS=-Xmx2g
|
||||
# - JDK="adopt-openj9@1.11"
|
||||
# before_install:
|
||||
# - curl "${GRAVIS}.install-jdk-travis.sh" --output ~/.install-jdk-travis.sh
|
||||
# - source ~/.install-jdk-travis.sh
|
||||
# script:
|
||||
# - 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then ./gradlew build ; fi'
|
||||
# - 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then ./gradlew build publishMingwx64PublicationToSnapshotRepository; fi'
|
||||
cache:
|
||||
directories:
|
||||
- $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