diff --git a/.github/workflows/run-kibot.yml b/.github/workflows/run-kibot.yml new file mode 100644 index 0000000..571f809 --- /dev/null +++ b/.github/workflows/run-kibot.yml @@ -0,0 +1,58 @@ +name: "KiCad CI/CD Render previews" + +# Controls when the action will run. Triggers the workflow on push or pull request +# events but only for the master branch +on: + workflow_dispatch: + push: + paths: + - '*.kicad_pcb' + # - '*' + - '*.kibot.yaml' + - '.github/workflows/run-kibot.yml' + +jobs: + render: + strategy: + fail-fast: false + matrix: + board: [ + sweeeeep/choc, + sweeeeep/choc-evq-inside, + sweeeeep/choc-evq-outside, + sweeeeep/choc-hotswap, + sweeeeep/choc-rotated-inner-thumb, + sweeeeep/ks27-choc, + swweeep/choc-hotswap-optional + ] + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: INTI-CMNB/KiBot@v2_k6 + with: + # Required - kibot config file + config: .kibot/main.kibot.yaml + # optional - prefix to output defined in config + dir: gallery/${{ matrix.board }}/ + # optional - schematic file + # schema: 'main.kicad_sch' + # optional - PCB design file + board: "${{ matrix.board }}/half-swept.kicad_pcb" + - uses: actions/upload-artifact@main + with: + path: gallery/ + + publish: + needs: render + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/download-artifact@v3 + with: + path: gallery/ + - run: rm -rf pcb_images + - run: mv gallery/artifact/ pcb_images + - uses: stefanzweifel/git-auto-commit-action@v4.14.1 + with: + commit_message: "Update gallery (automated)" + commit_user_name: GitHub Actions Bot diff --git a/.kibot/main.kibot.yaml b/.kibot/main.kibot.yaml new file mode 100644 index 0000000..fc52bdf --- /dev/null +++ b/.kibot/main.kibot.yaml @@ -0,0 +1,29 @@ +kibot: + version: 1 + +preflight: + run_erc: false + run_drc: false + check_zone_fills: false + ignore_unconnected: false + +global: + # Add %r if you want the revision name + # output: '%f-%i_%r.%x' + output: '%f-%i.%x' + +outputs: + # render the top side with pcbdraw + - name: pcb_top_b + comment: "PCB render top purple" + type: pcbdraw + options: + format: png + style: oshpark-purple + - name: pcb_bot_b + comment: "PCB render bottom purple" + type: pcbdraw + options: + format: png + style: oshpark-purple + bottom: True diff --git a/README.md b/README.md index ec6ea79..e6c473f 100644 --- a/README.md +++ b/README.md @@ -98,3 +98,38 @@ If you built a swweeep v1.3 or earlier, you will need to connect the battery gro ## sweeeeep evq inside ![pcbs](images/sweeeeep-evq-inner.png) + +### sweeeeep (choc) +| Front | Back | +| :---: | :---: | +| ![front](pcb_images/sweeeeep/choc/half-swept-top.png) | ![back](pcb_images/sweeeeep/choc/half-swept-bottom.png) | + +### sweeeeep (choc-evq-inside) +| Front | Back | +| :---: | :---: | +| ![front](pcb_images/sweeeeep/choc-evq-inside/half-swept-top.png) | ![back](pcb_images/sweeeeep/choc-evq-inside/half-swept-bottom.png) | + +### sweeeeep (choc-evq-outside) +| Front | Back | +| :---: | :---: | +| ![front](pcb_images/sweeeeep/choc-evq-outside/half-swept-top.png) | ![back](pcb_images/sweeeeep/choc-evq-outside/half-swept-bottom.png) | + +### sweeeeep (choc-hotswap) +| Front | Back | +| :---: | :---: | +| ![front](pcb_images/sweeeeep/choc-hotswap/half-swept-top.png) | ![back](pcb_images/sweeeeep/choc-hotswap/half-swept-bottom.png) | + +### sweeeeep (choc-rotated-inner-thumb) +| Front | Back | +| :---: | :---: | +| ![front](pcb_images/sweeeeep/choc-rotated-inner-thumb/half-swept-top.png) | ![back](pcb_images/sweeeeep/choc-rotated-inner-thumb/half-swept-bottom.png) | + +### sweeeeep (ks27-choc) +| Front | Back | +| :---: | :---: | +| ![front](pcb_images/sweeeeep/ks27-choc/half-swept-top.png) | ![back](pcb_images/sweeeeep/ks27-choc/half-swept-bottom.png) | + +### swweeep (choc-hotswap-optional) +| Front | Back | +| :---: | :---: | +| ![front](pcb_images/swweeep/choc-hotswap-optional/half-swept-top.png) | ![back](pcb_images/swweeep/choc-hotswap-optional/half-swept-bottom.png) | diff --git a/pcb_images/sweeeeep/choc-evq-inside/half-swept-bottom.png b/pcb_images/sweeeeep/choc-evq-inside/half-swept-bottom.png new file mode 100644 index 0000000..f1e02ac Binary files /dev/null and b/pcb_images/sweeeeep/choc-evq-inside/half-swept-bottom.png differ diff --git a/pcb_images/sweeeeep/choc-evq-inside/half-swept-top.png b/pcb_images/sweeeeep/choc-evq-inside/half-swept-top.png new file mode 100644 index 0000000..1de3254 Binary files /dev/null and b/pcb_images/sweeeeep/choc-evq-inside/half-swept-top.png differ diff --git a/pcb_images/sweeeeep/choc-evq-outside/half-swept-bottom.png b/pcb_images/sweeeeep/choc-evq-outside/half-swept-bottom.png new file mode 100644 index 0000000..0cdd1f4 Binary files /dev/null and b/pcb_images/sweeeeep/choc-evq-outside/half-swept-bottom.png differ diff --git a/pcb_images/sweeeeep/choc-evq-outside/half-swept-top.png b/pcb_images/sweeeeep/choc-evq-outside/half-swept-top.png new file mode 100644 index 0000000..7f15580 Binary files /dev/null and b/pcb_images/sweeeeep/choc-evq-outside/half-swept-top.png differ diff --git a/pcb_images/sweeeeep/choc-hotswap/half-swept-bottom.png b/pcb_images/sweeeeep/choc-hotswap/half-swept-bottom.png new file mode 100644 index 0000000..220b630 Binary files /dev/null and b/pcb_images/sweeeeep/choc-hotswap/half-swept-bottom.png differ diff --git a/pcb_images/sweeeeep/choc-hotswap/half-swept-top.png b/pcb_images/sweeeeep/choc-hotswap/half-swept-top.png new file mode 100644 index 0000000..341df47 Binary files /dev/null and b/pcb_images/sweeeeep/choc-hotswap/half-swept-top.png differ diff --git a/pcb_images/sweeeeep/choc-rotated-inner-thumb/half-swept-bottom.png b/pcb_images/sweeeeep/choc-rotated-inner-thumb/half-swept-bottom.png new file mode 100644 index 0000000..bb4d65c Binary files /dev/null and b/pcb_images/sweeeeep/choc-rotated-inner-thumb/half-swept-bottom.png differ diff --git a/pcb_images/sweeeeep/choc-rotated-inner-thumb/half-swept-top.png b/pcb_images/sweeeeep/choc-rotated-inner-thumb/half-swept-top.png new file mode 100644 index 0000000..d70806e Binary files /dev/null and b/pcb_images/sweeeeep/choc-rotated-inner-thumb/half-swept-top.png differ diff --git a/pcb_images/sweeeeep/choc/half-swept-bottom.png b/pcb_images/sweeeeep/choc/half-swept-bottom.png new file mode 100644 index 0000000..fd36043 Binary files /dev/null and b/pcb_images/sweeeeep/choc/half-swept-bottom.png differ diff --git a/pcb_images/sweeeeep/choc/half-swept-top.png b/pcb_images/sweeeeep/choc/half-swept-top.png new file mode 100644 index 0000000..6f98f01 Binary files /dev/null and b/pcb_images/sweeeeep/choc/half-swept-top.png differ diff --git a/pcb_images/sweeeeep/ks27-choc/half-swept-bottom.png b/pcb_images/sweeeeep/ks27-choc/half-swept-bottom.png new file mode 100644 index 0000000..f61b87f Binary files /dev/null and b/pcb_images/sweeeeep/ks27-choc/half-swept-bottom.png differ diff --git a/pcb_images/sweeeeep/ks27-choc/half-swept-top.png b/pcb_images/sweeeeep/ks27-choc/half-swept-top.png new file mode 100644 index 0000000..20311d9 Binary files /dev/null and b/pcb_images/sweeeeep/ks27-choc/half-swept-top.png differ diff --git a/pcb_images/swweeep/choc-hotswap-optional/half-swept-bottom.png b/pcb_images/swweeep/choc-hotswap-optional/half-swept-bottom.png new file mode 100644 index 0000000..825eec7 Binary files /dev/null and b/pcb_images/swweeep/choc-hotswap-optional/half-swept-bottom.png differ diff --git a/pcb_images/swweeep/choc-hotswap-optional/half-swept-top.png b/pcb_images/swweeep/choc-hotswap-optional/half-swept-top.png new file mode 100644 index 0000000..836b621 Binary files /dev/null and b/pcb_images/swweeep/choc-hotswap-optional/half-swept-top.png differ