config 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # vim: filetype=yaml sw=2
  2. version: '[% c("abbrev") %]'
  3. git_url: https://github.com/hlandau/service.git
  4. git_hash: 0496f910e39ef577ba805f512f6e1b80d652c4b9
  5. filename: '[% project %]-[% c("version") %]-[% c("var/osname") %]-[% c("var/build_id") %].tar.gz'
  6. container:
  7. use_container: 1
  8. build: '[% c("projects/go/var/build_go_lib") %]'
  9. var:
  10. go_lib: gopkg.in/hlandau/service.v2
  11. go_lib_deps:
  12. - gosvcutils
  13. - goeasyconfig
  14. - gspt
  15. build_go_lib_pre: |
  16. [% pc(c('var/compiler'), 'var/setup', { compiler_tarfile => c('input_files_by_name/' _ c('var/compiler')) }) %]
  17. tar -C /var/tmp/dist -xf $rootdir/[% c('input_files_by_name/binutils') %]
  18. export PATH="/var/tmp/dist/binutils/bin:$PATH"
  19. export CGO_ENABLED=1
  20. targets:
  21. linux-i686:
  22. var:
  23. arch_deps:
  24. - libcap-dev:i386
  25. linux-x86_64:
  26. var:
  27. arch_deps:
  28. - libcap-dev
  29. input_files:
  30. - project: container-image
  31. - name: go
  32. project: go
  33. - name: '[% c("var/compiler") %]'
  34. project: '[% c("var/compiler") %]'
  35. - name: binutils
  36. project: binutils
  37. - name: gosvcutils
  38. project: gosvcutils
  39. - name: goeasyconfig
  40. project: goeasyconfig
  41. - name: gspt
  42. project: gspt