No Description
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.

kicad.yml 2.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. # SPDX-FileCopyrightText: 2023 - 2024 Thomas Buck <thomas@xythobuz.de>
  2. # SPDX-License-Identifier: CERN-OHL-S-2.0+
  3. #
  4. # ------------------------------------------------------------------------------
  5. # | Copyright (c) 2023 - 2024 Thomas Buck <thomas@xythobuz.de> |
  6. # | |
  7. # | This source describes Open Hardware and is licensed under the CERN-OHL-S v2 |
  8. # | or any later version. |
  9. # | |
  10. # | You may redistribute and modify this source and make products using it under |
  11. # | the terms of the CERN-OHL-S v2 (https://ohwr.org/cern_ohl_s_v2.txt) |
  12. # | or any later version. |
  13. # | |
  14. # | This source is distributed WITHOUT ANY EXPRESS OR IMPLIED WARRANTY, |
  15. # | INCLUDING OF MERCHANTABILITY, SATISFACTORY QUALITY AND FITNESS FOR A |
  16. # | PARTICULAR PURPOSE. Please see the CERN-OHL-S v2 (or any later version) |
  17. # | for applicable conditions. |
  18. # | |
  19. # | Source location: https://github.com/drinkrobotics/dispensy |
  20. # | |
  21. # | As per CERN-OHL-S v2 section 4, should You produce hardware based on this |
  22. # | source, You must where practicable maintain the Source Location visible |
  23. # | on the external case of the Gizmo or other products you make using this |
  24. # | source. |
  25. # ------------------------------------------------------------------------------
  26. name: PCB
  27. # build for each push and pull request
  28. on: [push, pull_request]
  29. jobs:
  30. fabrication:
  31. runs-on: ubuntu-latest
  32. permissions:
  33. contents: write
  34. steps:
  35. - name: Checkout repo
  36. uses: actions/checkout@v4
  37. with:
  38. fetch-depth: 0
  39. - name: Install dependencies
  40. run: |
  41. sudo add-apt-repository --yes ppa:kicad/kicad-7.0-releases
  42. sudo apt update
  43. sudo apt install -y --install-recommends kicad
  44. sudo apt-get install -y zip
  45. - name: Generate fabrication files
  46. run: |
  47. ./hardware/generate_fab.sh
  48. - name: Upload board files
  49. uses: actions/upload-artifact@v4.0.0
  50. with:
  51. name: dispensy-pcb
  52. path: hardware/fabrication
  53. - name: Upload release files
  54. if: startsWith(github.ref, 'refs/tags/')
  55. uses: softprops/action-gh-release@v1
  56. with:
  57. files: hardware/fab.zip