V4.0.0 #28
Workflow file for this run
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
name: "KiBot - Release" | |
on: | |
release: | |
types: [published] | |
workflow_dispatch: | |
inputs: | |
version: | |
description: "Design version" | |
required: true | |
default: "pre-release" | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
get_submodules: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: 'true' | |
- name: Store submodule | |
uses: actions/upload-artifact@v1 | |
with: | |
name: Submodule | |
path: uEFI_rev3/library | |
ERC: | |
runs-on: ubuntu-latest | |
container: setsoft/kicad_auto:dev_k6 | |
needs: get_submodules | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Get submodule | |
uses: actions/download-artifact@v2 | |
with: | |
name: Submodule | |
path: uEFI_rev3 | |
- name: Run ERC | |
run: | | |
echo disabled due bug | |
DRC: | |
runs-on: ubuntu-latest | |
container: setsoft/kicad_auto:dev_k6 | |
needs: ERC | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Get submodule | |
uses: actions/download-artifact@v2 | |
with: | |
name: Submodule | |
path: uEFI_rev3 | |
- name: Run DRC | |
run: | | |
make -C uEFI_rev3/ drc config=../.kibot/release.kibot.yaml | |
- name: Retrieve results | |
uses: actions/upload-artifact@v1 | |
with: | |
config: ../.kibot/release.kibot.yaml | |
name: DRC_Output | |
path: uEFI_rev3/Fabrication | |
FabSch: | |
name: Schematic fabrication files | |
runs-on: ubuntu-latest | |
container: setsoft/kicad_auto:dev_k6 | |
needs: ERC | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Get submodule | |
uses: actions/download-artifact@v2 | |
with: | |
name: Submodule | |
path: uEFI_rev3 | |
- name: Run schematic stuff | |
run: | | |
make -C uEFI_rev3/ sch_fab config=../.kibot/release.kibot.yaml | |
- name: Retrieve results | |
uses: actions/upload-artifact@v1 | |
with: | |
config: ../.kibot/release.kibot.yaml | |
name: FabSch_Output | |
path: uEFI_rev3/Fabrication | |
FabPCB: | |
name: PCB fabrication files | |
runs-on: ubuntu-latest | |
container: setsoft/kicad_auto:dev_k6 | |
needs: DRC | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Get submodule | |
uses: actions/download-artifact@v2 | |
with: | |
name: Submodule | |
path: uEFI_rev3 | |
- name: Run PCB stuff | |
run: | | |
make -C uEFI_rev3/ pcb_fab config=../.kibot/release.kibot.yaml | |
- name: Retrieve results | |
uses: actions/upload-artifact@v1 | |
with: | |
config: ../.kibot/release.kibot.yaml | |
name: FabPCB_Output | |
path: uEFI_rev3/Fabrication |