-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove double up on actions Remove kibot config file to what the action is looking for Update date on title block Update github actions update github action update schematic Add options.yaml
- Loading branch information
Showing
8 changed files
with
441 additions
and
585 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,29 +1,43 @@ | ||
name: build | ||
|
||
on: | ||
push: | ||
paths: | ||
- '**.sch' | ||
- '**.kicad_pcb' | ||
pull_request: | ||
paths: | ||
- '**.sch' | ||
- '**.kicad_pcb' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: INTI-CMNB/KiBot@v1.7.0 | ||
with: | ||
# Required - kibot config file | ||
config: config.kibot.yaml | ||
dir: output | ||
schema: 'Mad_RP2040.kicad_sch' | ||
board: 'Mad_RP2040.kicad_pcb' | ||
- name: upload results | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: output | ||
path: output | ||
name: Generate Datapack | ||
on: | ||
push: | ||
paths: | ||
- '**.kicad_sch' | ||
- '**.kicad_pcb' | ||
pull_request: | ||
paths: | ||
- '**.kicad_sch' | ||
- '**.kicad_pcb' | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Use current kicad repo commit that triggered this build. | ||
- uses: actions/checkout@v3 | ||
|
||
# Run bash command to get kicad file name. | ||
- name: Get Kicad Project Name | ||
run: echo "PROJECT_NAME=$(basename *.kicad_pro .kicad_pro)" >> $GITHUB_ENV | ||
# Checkout kibot config repo | ||
- name: Get Kibot Config | ||
uses: actions/checkout@main | ||
with: | ||
repository: Cimos/kibot-config | ||
path: ./kibot-config | ||
|
||
|
||
# Use kibot build. | ||
- uses: INTI-CMNB/KiBot@v1.7.0 | ||
with: | ||
config: kibot-config/build.kibot.yaml | ||
dir: output | ||
schema: '${{ env.PROJECT_NAME }}.kicad_sch' | ||
board: '${{ env.PROJECT_NAME }}.kicad_pcb' | ||
# verbose: 2 | ||
|
||
# Update artifacts | ||
- name: Upload Results | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: output | ||
path: output |
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
Oops, something went wrong.