config 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. # vim: filetype=yaml sw=2
  2. filename: '[% project %]-[% c("version") %]-[% c("var/build_id") %].tar.gz'
  3. version: 26.0.2
  4. var:
  5. container:
  6. use_container: 1
  7. deps:
  8. - unzip
  9. - python
  10. setup: |
  11. mkdir -p /var/tmp/dist
  12. tar -C /var/tmp/dist -xf $rootdir/[% c("compiler_tarfile") %]
  13. export ANDROID_SDK_HOME=/var/tmp/dist/[% project %]/android-sdk-linux
  14. export ANDROID_NDK_HOME=/var/tmp/dist/[% project %]/android-ndk
  15. export GRADLE_HOME=/var/tmp/dist/[% project %]/gradle
  16. export ANDROID_HOME=$ANDROID_SDK_HOME
  17. export GRADLE_USER_HOME=$GRADLE_HOME
  18. google_repo: https://dl.google.com/android/repository
  19. input_files:
  20. - project: container-image
  21. - URL: '[% c("var/google_repo") %]/build-tools_r26.0.2-linux.zip'
  22. name: build_tools_26
  23. sha256sum: a752849fac85c4a7f9ea165ec8f367b0ebe8bbf6a1f33fc8605342be004231ce
  24. - URL: '[% c("var/google_repo") %]/platform-26_r02.zip'
  25. name: platform_26
  26. sha256sum: 2aafa7d19c5e9c4b643ee6ade3d85ef89dc2f79e8383efdb9baf7fddad74b52a
  27. - URL: '[% c("var/google_repo") %]/platform-tools_r26.0.2-linux.zip'
  28. name: platform_tools_26
  29. sha256sum: 63b15a38c2b64e6ec8b54febe9f69fce5fe6c898c554c73b826b49daf7b52519
  30. - URL: '[% c("var/google_repo") %]/sdk-tools-linux-4333796.zip'
  31. name: android_sdk_tools
  32. sha256sum: 92ffee5a1d98d856634e8b71132e8a95d96c83a63fde1099be3d86df3106def9
  33. - URL: '[% c("var/google_repo") %]/android-ndk-r15c-linux-x86_64.zip'
  34. name: android_ndk_compiler
  35. sha256sum: f01788946733bf6294a36727b99366a18369904eb068a599dde8cca2c1d2ba3c
  36. - URL: https://services.gradle.org/distributions/gradle-4.1-bin.zip
  37. name: gradle_bin
  38. sha256sum: d55dfa9cfb5a3da86a1c9e75bb0b9507f9a8c8c100793ccec7beb6e259f9ed43