Skip to content

Commit

Permalink
Set up PCB workflow
Browse files Browse the repository at this point in the history
This is the result of running `./PCB-workflows/tools/setup-project-repo.sh PCB/Reader.kicad_pro`
  • Loading branch information
matthijskooijman committed May 28, 2024
1 parent 79a6266 commit 481831a
Show file tree
Hide file tree
Showing 4 changed files with 69 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Mark kicad files as text, so git can normalize line endings
*.kicad_pro text=auto
*.kicad_pcb text=auto
*.kicad_sch text=auto
16 changes: 16 additions & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# This workflow handles all kinds of pushes. What happens exactly is
# decided by the generic workflow that we delegate to.
name: Workflow

on:
push:
tags:
- '**' # Use a double *, to also match /
branches:
- '*'
pull_request:

jobs:
workflow:
uses: 3devo/PCB-workflows/.github/workflows/dispatcher.yml@76543de1fd7ac36848740f744b9913219fb9ed00
secrets: inherit
40 changes: 40 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# For PCBs designed using KiCad: http://www.kicad-pcb.org/
# Format documentation: http://kicad-pcb.org/help/file-formats/

# Temporary files
*.000
*.bak
*.bck
*.kicad_pcb-bak
*.kicad_sch-bak
*.kicad_pro-bak
*.kicad_prl
*.sch-bak
*~
_autosave-*
*.tmp
*-save.pro
*-save.kicad_sch
*-save.kicad_pro
*-save.kicad_pcb
fp-info-cache

# Netlist files (exported from Eeschema)
*.net
*.xml

# Autorouter files (exported from Pcbnew)
*.dsn
*.ses

# Fabrication outputs
Fabrication/
Export/

# Kicad 6 backups
*-backups

# kibot outptus
kibot-output
*-drc.txt
*-erc.txt
12 changes: 9 additions & 3 deletions PCB/Reader.kicad_pro
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@
"svg": "",
"vrml": ""
},
"page_layout_descr_file": ""
"page_layout_descr_file": "../PCB-workflows/sheets/versioned_sheet.kicad_wks"
},
"schematic": {
"annotate_start_num": 0,
Expand Down Expand Up @@ -740,7 +740,7 @@
"version": 1
},
"net_format_name": "",
"page_layout_descr_file": "",
"page_layout_descr_file": "../PCB-workflows/sheets/versioned_sheet.kicad_wks",
"plot_directory": "",
"spice_adjust_passive_values": false,
"spice_current_sheet_as_root": false,
Expand All @@ -758,5 +758,11 @@
"Root"
]
],
"text_variables": {}
"text_variables": {
"BOARD_REVISION": "dev",
"COMPONENTS_DATE": "dev",
"GIT_REVISION_INFO": "",
"SHEETPATH": "N/A",
"VARIANT": ""
}
}

0 comments on commit 481831a

Please sign in to comment.