Skip to content

Commit

Permalink
Board rev2 ready to order, hopefully
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan Krall committed Sep 16, 2023
1 parent 04d8c5d commit 8e72d4a
Show file tree
Hide file tree
Showing 55 changed files with 55,638 additions and 48,969 deletions.
179 changes: 0 additions & 179 deletions .github/workflows/artifacts.yaml

This file was deleted.

130 changes: 130 additions & 0 deletions .github/workflows/kibot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
# SPDX-FileCopyrightText: 2022 nerdyscout <https://github.com/nerdyscout/>
#
# SPDX-License-Identifier: CC0-1.0

name: KiBot

on:
workflow_dispatch:
push:
paths:
- "*.kicad_sch"
- "*.kicad_pcb"
- "*.kicad_pro"
- "**/*kibot.yml"
pull_request:
paths:
- "*.kicad_sch"
- "*.kicad_pcb"
- "*.kicad_pro"
- "**/*kibot.yml"

env:
schema: "*.kicad_sch"
board: "*.kicad_pcb"
dir: .

jobs:
# checks
ERC:
runs-on: ubuntu-latest
container:
image: setsoft/kicad_auto:ki7
steps:
- uses: actions/checkout@v3
- name: run kibot
run: |
kibot -c kibot.yml -e ${{env.schema}} -b ${{env.board}} -d ${{env.dir}} -s run_drc -v -i
DRC:
runs-on: ubuntu-latest
container:
image: setsoft/kicad_auto:ki7
steps:
- uses: actions/checkout@v3
- name: run kibot
run: |
kibot -c kibot.yml -e ${{env.schema}} -b ${{env.board}} -d ${{env.dir}} -s run_erc -v -i
# documentation
docs:
runs-on: ubuntu-latest
needs: [ERC]
container:
image: setsoft/kicad_auto:ki7
steps:
- uses: actions/checkout@v3
- name: run kibot
run: |
kibot -c kibot.yml -e ${{env.schema}} -b ${{env.board}} -d ${{env.dir}} -s run_erc,run_drc -v \
ibom.html octopart.csv schematic.pdf schematic.svg board_top.pdf board_bottom.pdf
- uses: actions/[email protected]
if: ${{success()}}
with:
name: ${{github.event.repository.name}}_docs
if-no-files-found: error
path: |
${{env.dir}}/docs/**
!${{env.dir}}/**/*.ogv
!${{env.dir}}/**/*.log
# fabrications
gerbers:
runs-on: ubuntu-latest
needs: [DRC]
container:
image: setsoft/kicad_auto:ki7
steps:
- uses: actions/checkout@v3
- name: run kibot
run: |
kibot -c kibot.yml -e ${{env.schema}} -b ${{env.board}} -d ${{env.dir}} -s run_erc,run_drc -v \
gerbers.gbr drills.gbr drills.drl pickandplace.csv bom.csv
- uses: actions/[email protected]
if: ${{success()}}
with:
name: ${{github.event.repository.name}}_gerbers
if-no-files-found: error
path: |
${{env.dir}}/gerbers/**
!${{env.dir}}/**/*.ogv
!${{env.dir}}/**/*.log
# cad
cad:
runs-on: ubuntu-latest
needs: [DRC]
container:
image: setsoft/kicad_auto:ki7
steps:
- uses: actions/checkout@v3
- name: run kibot
run: |
kibot -c kibot.yml -e ${{env.schema}} -b ${{env.board}} -d ${{env.dir}} -s run_erc,run_drc -v \
model.step openboardview.brd autocad.dxf
- uses: actions/[email protected]
if: ${{success()}}
with:
name: ${{github.event.repository.name}}_cad
if-no-files-found: error
path: |
${{env.dir}}/cad/**
!${{env.dir}}/**/*.ogv
!${{env.dir}}/**/*.log
# images
render:
runs-on: ubuntu-latest
needs: [DRC]
container:
image: setsoft/kicad_auto:ki7
steps:
- uses: actions/checkout@v3
- name: run kibot
run: |
kibot -c kibot.yml -e ${{env.schema}} -b ${{env.board}} -d ${{env.dir}} -s run_erc,run_drc -v \
board_black_top.svg board_black_bottom.svg
- uses: actions/[email protected]
if: ${{success()}}
with:
name: ${{github.event.repository.name}}_img
if-no-files-found: error
path: |
${{env.dir}}/img/**
!${{env.dir}}/**/*.ogv
!${{env.dir}}/**/*.log
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ pipad.csv
codec_and_amp.kicad_sch-bak
\#auto_saved_files#
*.kicad_sch-bak
gerbers.zip
7 changes: 7 additions & 0 deletions .kibot/boardview.kibot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
outputs:
- name: 'openboardview.brd'
comment: 'https://openboardview.org/'
type: boardview
dir: cad
options:
output: '%f.%x'
Loading

0 comments on commit 8e72d4a

Please sign in to comment.