config 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. # vim: filetype=yaml sw=2
  2. version: '[% c("var/cbindgen_version") %]'
  3. git_url: https://github.com/eqrion/cbindgen
  4. git_hash: '[% c("var/cbindgen_git_hash") %]'
  5. filename: '[% project %]-[% c("version") %]-[% c("var/build_id") %].tar.gz'
  6. container:
  7. use_container: 1
  8. var:
  9. cbindgen_version: 0.19.0
  10. cbindgen_git_hash: d9e490ce8b836194595bd30611253a7028059da2
  11. cbindgen_vendor_hash: 7d99c195b180e28ca7499d8744d020b864f952a5ba699716707aec9a06b4ee8b
  12. cbindgen_vendor_people_tpo_user: boklm
  13. vendor_compress: bz2
  14. input_files:
  15. - project: container-image
  16. - project: '[% c("var/compiler") %]'
  17. name: '[% c("var/compiler") %]'
  18. - name: rust
  19. project: rust
  20. # `cargo vendor vendor` in the `cbindgen` directory has vendored the sources.
  21. # Use `make cargo_vendor-cbindgen` or `make cargo_vendor-cbindgen-android`
  22. # (for the Android version) to re-generate the vendor tarball
  23. - name: cbindgen_vendor
  24. URL: https://people.torproject.org/~[% c('var/cbindgen_vendor_people_tpo_user') %]/mirrors/sources/cbindgen-vendor-[% c('version') %].tar.[% c('var/vendor_compress') %]
  25. sha256sum: '[% c("var/cbindgen_vendor_hash") %]'
  26. targets:
  27. android:
  28. var:
  29. cbindgen_version: 0.23.0
  30. cbindgen_git_hash: 798cfab52bced65a749443faa16990ec3a8e0cfe
  31. cbindgen_vendor_hash: 90fc3483753d296c6fc1a406f5cae412f7f74cd6719e9c800a2ffc6cd18b6e69
  32. cbindgen_vendor_people_tpo_user: pierov
  33. vendor_compress: xz
  34. steps:
  35. cargo_vendor:
  36. filename: '[% project %]-vendor-[% c("version") %].tar.xz'
  37. input_files:
  38. - project: container-image
  39. pkg_type: build
  40. - project: rust
  41. name: rust
  42. pkg_type: build