config 923 B

1234567891011121314151617181920212223242526272829303132
  1. version: '[% c("abbrev") %]'
  2. git_url: https://github.com/hlandau/buildinfo.git
  3. git_hash: 337a29b5499734e584d4630ce535af64c5fe7813
  4. filename: '[% project %]-[% c("version") %]-[% c("var/osname") %]-[% c("var/build_id") %].tar.gz'
  5. build: '[% c("projects/go/var/build_go_lib") %]'
  6. var:
  7. container:
  8. use_container: 1
  9. go_lib: github.com/hlandau/buildinfo
  10. go_lib_deps:
  11. - goeasyconfig
  12. build_go_lib_pre: |
  13. [% pc(c('var/compiler'), 'var/setup', { compiler_tarfile => c('input_files_by_name/' _ c('var/compiler')) }) %]
  14. tar -C /var/tmp/dist -xf $rootdir/[% c('input_files_by_name/binutils') %]
  15. export PATH="/var/tmp/dist/binutils/bin:$PATH"
  16. export CGO_ENABLED=1
  17. input_files:
  18. - project: container-image
  19. - name: go
  20. project: go
  21. - name: '[% c("var/compiler") %]'
  22. project: '[% c("var/compiler") %]'
  23. - name: binutils
  24. project: binutils
  25. - name: goeasyconfig
  26. project: goeasyconfig