-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from rfvermut/feat/gh-actions
Remove xESC2040 code + GH actions
- Loading branch information
Showing
97 changed files
with
173 additions
and
439,697 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: CI | ||
|
||
on: [push] | ||
|
||
jobs: | ||
erc-drc-checks: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- uses: INTI-CMNB/KiBot@v2_k6 | ||
with: | ||
config: PCB/xESC2.kibot.yaml | ||
board: PCB/xESC2.kicad_pcb | ||
verbose: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: tagged-release | ||
|
||
on: | ||
push: | ||
tags: | ||
- "v*" | ||
|
||
jobs: | ||
tagged-release: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- uses: INTI-CMNB/KiBot@v2_k6 | ||
with: | ||
config: PCB/xESC2.kibot.yaml | ||
board: PCB/xESC2.kicad_pcb | ||
skip: run_drc,run_erc | ||
|
||
- uses: "marvinpinto/action-automatic-releases@latest" | ||
with: | ||
repo_token: "${{ secrets.GITHUB_TOKEN }}" | ||
prerelease: false | ||
files: release/* | ||
|
||
- name: Deploy release | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: release | ||
destination_dir: release | ||
|
||
- name: Deploy release_navigator | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: release_navigator | ||
destination_dir: release_navigator | ||
keep_files: true | ||
|
||
- name: Deploy release_navigator index | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: release_navigator | ||
keep_files: true |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
kibot: | ||
version: 1 | ||
|
||
preflight: | ||
run_erc: true | ||
run_drc: true | ||
set_text_variables: | ||
- name: 'git_version' | ||
command: 'git describe --tags' | ||
update_xml: true | ||
|
||
filters: | ||
- name: anything_in_Config | ||
type: 'generic' | ||
comment: 'Remove components with something in config' | ||
keys: ["do not place", "DNP", '+can'] | ||
exclude_config: true | ||
exclude_value: true | ||
|
||
outputs: | ||
- name: 'bom' | ||
comment: 'Used to generate the BoM in CSV, HTML, TSV, TXT, XML or XLSX format using the internal BoM.' | ||
type: 'kibom' # reads bom.ini in contrast with 'bom' | ||
dir: 'release' | ||
options: | ||
format: CSV | ||
|
||
- name: 'write_gerber_drill' | ||
comment: 'This is the information for the drilling machine in gerber format.' | ||
type: 'gerb_drill' | ||
dir: 'release/gerber' | ||
|
||
- name: 'write_gerber' | ||
comment: 'This is the main fabrication format for the PCB.' | ||
type: 'gerber' | ||
dir: 'release/gerber' | ||
layers: 'selected' | ||
|
||
- name: 'gerber' | ||
comment: 'Generates a compressed file containing gerber files.' | ||
type: 'compress' | ||
dir: 'release' | ||
options: | ||
files: | ||
# [string=''] Destination directory inside the archive, empty means the same of the file | ||
- dest: '.' | ||
source: 'release/gerber/*' | ||
|
||
- name: 'position' | ||
comment: 'Generates the file with position information for the PCB components, used by the pick and place machine.' | ||
type: 'position' | ||
dir: 'release' | ||
options: | ||
dnf_filter: anything_in_Config | ||
|
||
- name: 'ibom' | ||
comment: 'Generates an interactive web page useful to identify the position of the components in the PCB.' | ||
type: 'ibom' | ||
dir: 'release' | ||
options: | ||
dnf_filter: anything_in_Config | ||
extra_fields: Stock_PN | ||
highlight_pin1: true | ||
|
||
- name: 'pcbdraw_svg' | ||
comment: 'Exports the PCB as a 2D model (SVG, PNG or JPG).' | ||
type: 'pcbdraw' | ||
dir: 'release' | ||
options: | ||
format: 'svg' | ||
dnf_filter: anything_in_Config | ||
|
||
- name: 'pcbdraw_png' | ||
comment: 'Exports the PCB as a 2D model (SVG, PNG or JPG).' | ||
type: 'pcbdraw' | ||
dir: 'release' | ||
options: | ||
format: 'png' | ||
dnf_filter: anything_in_Config | ||
|
||
- name: 'pcbdraw_svg_bottom' | ||
comment: 'Exports the PCB as a 2D model (SVG, PNG or JPG).' | ||
type: 'pcbdraw' | ||
dir: 'release' | ||
options: | ||
bottom: true | ||
format: 'svg' | ||
dnf_filter: anything_in_Config | ||
|
||
- name: 'pcbdraw_png_bottom' | ||
comment: 'Exports the PCB as a 2D model (SVG, PNG or JPG).' | ||
type: 'pcbdraw' | ||
dir: 'release' | ||
options: | ||
bottom: true | ||
format: 'png' | ||
dnf_filter: anything_in_Config | ||
|
||
- 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" |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -448,5 +448,7 @@ | |
"sheet61A580CB" | ||
] | ||
], | ||
"text_variables": {} | ||
"text_variables": { | ||
"git_version": "WIP" | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.