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

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