Aucune description
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

kicad.yml 2.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. # SPDX-FileCopyrightText: 2024 Thomas Buck <thomas@xythobuz.de>
  2. # SPDX-License-Identifier: CERN-OHL-S-2.0+
  3. #
  4. # ------------------------------------------------------------------------------
  5. # | Copyright (c) 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://git.xythobuz.de/thomas/drumkit |
  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: Checkout repo submodules
  40. run: git submodule update --init
  41. - name: Install dependencies
  42. run: |
  43. sudo add-apt-repository --yes ppa:kicad/kicad-8.0-releases
  44. sudo apt update
  45. sudo apt install -y --install-recommends kicad
  46. sudo apt-get install -y zip
  47. - name: Generate fabrication files
  48. run: |
  49. ./pcb/generate_fab.sh
  50. - name: Upload board files
  51. uses: actions/upload-artifact@v4.0.0
  52. with:
  53. name: prototype-pcb
  54. path: pcb/fabrication
  55. - name: Upload release files
  56. if: startsWith(github.ref, 'refs/tags/')
  57. uses: softprops/action-gh-release@v1
  58. with:
  59. files: pcb/fab.zip