Kromek Radangel gamma spectrometer USB HID daemon and WebUI. https://git.unino.de/pvivell/radangel
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

drone.yml 1.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. kind: pipeline
  2. name: default
  3. platform:
  4. os: linux
  5. arch: amd64
  6. steps:
  7. - name: build
  8. image: debian:stable-slim
  9. privileged: false
  10. environment:
  11. BUILDDEPS: build-essential libc6-dev libhidapi-dev libssl-dev
  12. MAKEFLAGS: -j 4
  13. commands:
  14. - echo 'Acquire::http { Proxy "http://172.17.0.1:3142"; }' | tee -a /etc/apt/apt.conf.d/proxy
  15. - apt-get update
  16. - apt-get --yes upgrade
  17. - apt-get --yes install $BUILDDEPS
  18. - export MAKEFLAGS
  19. - make -C src
  20. - make -C src/contrib
  21. - ls -l src/radangel src/contrib/websockify
  22. - md5sum src/radangel src/contrib/websockify
  23. when:
  24. branch:
  25. - master
  26. event:
  27. - push
  28. - tag
  29. - name: release
  30. image: plugins/gitea-release
  31. depends_on:
  32. - build
  33. settings:
  34. api_key:
  35. from_secret: gitea-release
  36. base_url: https://git.unino.de
  37. files:
  38. - src/radangel
  39. - src/contrib/websockify
  40. file_exists: overwrite
  41. checksum:
  42. - md5
  43. - sha1
  44. - sha256
  45. - sha512
  46. - adler32
  47. - crc32
  48. draft: true
  49. prerelease: true
  50. note: CHANGELOG.md
  51. title: Release
  52. insecure: false
  53. when:
  54. branch: master
  55. event: tag
  56. cache:
  57. mount:
  58. - /var/cache/apt/archives