config 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  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.23.0
  10. cbindgen_git_hash: 798cfab52bced65a749443faa16990ec3a8e0cfe
  11. cbindgen_vendor_hash: 90fc3483753d296c6fc1a406f5cae412f7f74cd6719e9c800a2ffc6cd18b6e69
  12. cbindgen_vendor_people_tpo_user: pierov
  13. input_files:
  14. - project: container-image
  15. - project: '[% c("var/compiler") %]'
  16. name: '[% c("var/compiler") %]'
  17. - name: rust
  18. project: rust
  19. # `cargo vendor vendor` in the `cbindgen` directory has vendored the sources.
  20. # Use `make cargo_vendor-cbindgen` or `make cargo_vendor-cbindgen-android`
  21. # (for the Android version) to re-generate the vendor tarball
  22. - name: cbindgen_vendor
  23. URL: https://people.torproject.org/~[% c('var/cbindgen_vendor_people_tpo_user') %]/mirrors/sources/cbindgen-vendor-[% c('version') %].tar.xz
  24. sha256sum: '[% c("var/cbindgen_vendor_hash") %]'
  25. steps:
  26. cargo_vendor:
  27. filename: '[% project %]-vendor-[% c("version") %].tar.xz'
  28. input_files:
  29. - project: container-image
  30. pkg_type: build
  31. - project: rust
  32. name: rust
  33. pkg_type: build