Skip to content

Commit

Permalink
feat(ci): publish dockstation pcb gerbers and pics
Browse files Browse the repository at this point in the history
  • Loading branch information
rfvermut committed Dec 20, 2022
1 parent ee34431 commit c201a96
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ jobs:
config: Hardware/OpenMowerMainboard/OpenMowerMainboard.kibot.yaml
board: Hardware/OpenMowerMainboard/OpenMowerMainboard.kicad_pcb
verbose: 1
- uses: INTI-CMNB/KiBot@v2_k6
with:
config: Hardware/DockStation/mower_PowerDeviceCarrier.kibot.yaml
board: Hardware/DockStation/mower_PowerDeviceCarrier.kicad_pcb
verbose: 1

firmware:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -73,7 +78,10 @@ jobs:
with:
config: Hardware/OpenMowerMainboard/OpenMowerMainboard.kibot.yaml
board: Hardware/OpenMowerMainboard/OpenMowerMainboard.kicad_pcb
skip: run_drc,run_erc
- uses: INTI-CMNB/KiBot@v2_k6
with:
config: Hardware/DockStation/mower_PowerDeviceCarrier.kibot.yaml
board: Hardware/DockStation/mower_PowerDeviceCarrier.kicad_pcb

- name: 'Fix permissions on release/'
run: sudo chmod 0777 release
Expand Down Expand Up @@ -113,6 +121,7 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: release_navigator
keep_files: true

pre-release-latest-firmware:
runs-on: ubuntu-latest
if: github.ref_type != 'tag'
Expand Down
13 changes: 3 additions & 10 deletions Hardware/DockStation/mower_PowerDeviceCarrier.kibot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ outputs:
- name: 'write_gerber_drill'
comment: 'This is the information for the drilling machine in gerber format.'
type: 'gerb_drill'
dir: 'release/gerber'
dir: 'release/gerber_dock'

- name: 'write_gerber'
comment: 'This is the main fabrication format for the PCB.'
type: 'gerber'
dir: 'release/gerber'
dir: 'release/gerber_dock'
layers: 'selected'

- name: 'gerber'
Expand All @@ -21,7 +21,7 @@ outputs:
files:
# [string=''] Destination directory inside the archive, empty means the same of the file
- dest: '.'
source: 'release/gerber/*'
source: 'release/gerber_dock/*'

- name: 'position'
comment: 'Generates the file with position information for the PCB components, used by the pick and place machine.'
Expand Down Expand Up @@ -68,10 +68,3 @@ outputs:
ray_tracing: true
wait_render: -600
zoom: 2

- name: 'navigate_results'
comment: 'Generates a web page to navigate the generated outputs'
type: 'navigate_results'
dir: 'release_navigator'
options:
link_from_root: "release_navigator/index.html"

0 comments on commit c201a96

Please sign in to comment.