config 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. # vim: filetype=yaml sw=2
  2. filename: '[% project %]-[% c("version") %]-[% c("var/build_id") %].tar.gz'
  3. version: 27.0.3
  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_r27.0.3-linux.zip'
  22. name: build_tools
  23. sha256sum: 5e1f4fc5203f13de120c56f9cc103bb2e57d940959547506196ab10ddc9e6b97
  24. - URL: '[% c("var/google_repo") %]/platform-28_r04.zip'
  25. name: platform
  26. sha256sum: 967f8ca99b71d337aa9c7781f9d65dd8110bf5c4746f44304047bf71b20d0ded
  27. - URL: '[% c("var/google_repo") %]/platform-tools_r28.0.3-linux.zip'
  28. name: platform_tools
  29. sha256sum: 38fccfe8d2646dd12bdd7cad22fedba0493425b98ebd6d620e4c670b9af4c53f
  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-r17b-linux-x86_64.zip'
  34. name: android_ndk_compiler
  35. sha256sum: 5dfbbdc2d3ba859fed90d0e978af87c71a91a5be1f6e1c40ba697503d48ccecd
  36. - URL: https://services.gradle.org/distributions/gradle-4.10.2-bin.zip
  37. name: gradle_bin
  38. sha256sum: b49c6da1b2cb67a0caf6c7480630b51c70a11ca2016ff2f555eaeda863143a29