1version: 0.2 2#this build spec assumes the manylinux CentOS5 custom image 3#additional packages we installed: cmake 3.5, libcrypto 1.1.0j, gcc 4.8.4, openjdk8, maven 3.6.0, gnupg 2.0.10 4phases: 5 install: 6 commands: 7 pre_build: 8 commands: 9 - export CC=gcc 10 build: 11 commands: 12 - cd aws-crt-java 13 - git submodule update --init 14 - JAVA_HOME=/opt/java-se-8u40-ri/ mvn -B package -DskipTests -Dcrt.classifier=linux-x86_64 -Dcmake.disable_perl=OFF -Dcmake.disable_aws_lc_512avx=ON 15 16 post_build: 17 commands: 18 # get the shared libs from the native build 19 - mkdir -p ../dist 20 - cp -rv target/cmake-build/lib ../dist/ 21 # get the platform specific jar with classifier 22 - cp target/*.jar ../dist/ 23 24artifacts: 25 files: 26 - 'dist/**/*' 27 28cache: 29 paths: 30 - '/root/.m2/**/*' 31