config 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # vim: filetype=yaml sw=2
  2. version: 2.0.1
  3. git_url: https://github.com/hlandau/madns.git
  4. git_hash: 26979b3e4b5aa3e0bd53cf0a014f9eaf43b578e3
  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/madns.v2
  11. go_lib_deps:
  12. - godns
  13. - gobuildinfo
  14. - goxlog
  15. go_lib_install:
  16. - gopkg.in/hlandau/madns.v2
  17. - gopkg.in/hlandau/madns.v2/merr
  18. build_go_lib_pre: |
  19. [% pc(c('var/compiler'), 'var/setup', { compiler_tarfile => c('input_files_by_name/' _ c('var/compiler')) }) %]
  20. tar -C /var/tmp/dist -xf $rootdir/[% c('input_files_by_name/binutils') %]
  21. export PATH="/var/tmp/dist/binutils/bin:$PATH"
  22. export CGO_ENABLED=1
  23. input_files:
  24. - project: container-image
  25. - name: go
  26. project: go
  27. - name: '[% c("var/compiler") %]'
  28. project: '[% c("var/compiler") %]'
  29. - name: binutils
  30. project: binutils
  31. - name: godns
  32. project: godns
  33. - name: gobuildinfo
  34. project: gobuildinfo
  35. - name: goxlog
  36. project: goxlog