config 1.1 KB

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