File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,16 +23,21 @@ jobs:
2323 KIBOT :
2424 runs-on : ubuntu-slim
2525 steps :
26- - run : |
27- sudo apt update
28- sudo apt install -y kicad
2926 - uses : actions/checkout@v4
30- - uses : astral-sh/setup-uv@v3
31- - run : | # use https://nickcoutsos.github.io/keymap-layout-tools/ to generate info.json
27+ - uses : astral-sh/setup-uv@v3
28+ - name : Install KiCad and dependencies
29+ run : |
30+ sudo apt update
31+ sudo apt install -y kicad kicad-libraries python3-dev
32+ # Set up Python path for KiCad
33+ echo "PYTHONPATH=/usr/lib/python3/dist-packages:$PYTHONPATH" >> $GITHUB_ENV
34+ uv install kibot
35+ - name : Generate PCB files
36+ run : | # use https://nickcoutsos.github.io/keymap-layout-tools/ to generate info.json
3237 touch board/output/pcbs/sessile.kicad_sch
3338 echo '(kicad_sch (version 20230121))' > board/output/pcbs/sessile.kicad_sch
3439
35- uvx kibot \
40+ uv run kibot \
3641 -c board/sessile.kibot.yaml \
3742 -d board/output/pcbs \
3843 -b board/output/pcbs/sessile.kicad_pcb \
4449 path : board/output/pcbs/jlcpcb.zip
4550
4651 release :
47- runs-on : ubuntu-slim
52+ runs-on : ubuntu-latest
4853 if : startsWith(github.ref, 'refs/tags/')
4954 permissions :
5055 contents : write
You can’t perform that action at this time.
0 commit comments