From 2d485741087f3f79e50e9c51ca425f10bd5691c6 Mon Sep 17 00:00:00 2001 From: "J.P. Krauss" Date: Mon, 9 Mar 2026 15:17:06 -0700 Subject: [PATCH] Use raw bash command instead of KiBot GHA to honor KIBOT_3D_MODEL --- .gitea/workflows/ci.yaml | 29 ++++++++++++++++++++++------- kibot/yaml/kibot_out_panelize.yaml | 1 + 2 files changed, 23 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index ead414a..3af2a0a 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -13,6 +13,7 @@ on: env: # KiBot Configuration + kibot_cache: cache kibot_config: kibot/yaml/kibot_main.yaml kibot_draft: false kibot_log: kibot_run.log @@ -135,14 +136,28 @@ jobs: additional_args: --skip-pre all ${{ env.version_arg }} preprocess_group config: ${{ env.kibot_config }} + # - name: Run KiBot (Outputs) + # uses: inti-cmnb/kibot@${{ env.kibot_tag }} + # env: + # KIBOT_3D_MODELS: cache/3d_models + # with: + # additional_args: ${{ env.additional_args }} + # config: ${{ env.kibot_config }} + # cache3D: YES + - name: Run KiBot (Outputs) - uses: inti-cmnb/kibot@${{ env.kibot_tag }} - env: - KIBOT_3D_MODELS: cache/3d_models - with: - additional_args: ${{ env.additional_args }} - config: ${{ env.kibot_config }} - cache3D: YES + shell: bash + run: | + kibot --version | awk '{ print $1 ": " $2 }' + echo KiCad: `dpkg --robot -l kicad | grep kicad | awk '{print $3}'` + echo Debian: `cat /etc/debian_version` + pcbnew_do --version | awk 'BEGIN{ done=0 } { if (done == 0) { print "KiAuto: " $2; done=1 } }' + echo "iBoM:" `INTERACTIVE_HTML_BOM_NO_DISPLAY=True generate_interactive_bom.py --version 2> /dev/null | grep "^v" | tr -d 'v'` + echo + /usr/bin/kicad-git-filters.py + export KIBOT_3D_MODELS="${{ env.kibot_cache }}/3d_models" + echo Exporting KIBOT_3D_MODELS=$KIBOT_3D_MODELS + kibot -c ${{ env.kibot_config }} ${{ env.additional_args }} - name: Save Cached 3d Models id: cache-models-save diff --git a/kibot/yaml/kibot_out_panelize.yaml b/kibot/yaml/kibot_out_panelize.yaml index 9ff767d..fc3c7dd 100644 --- a/kibot/yaml/kibot_out_panelize.yaml +++ b/kibot/yaml/kibot_out_panelize.yaml @@ -17,6 +17,7 @@ outputs: create_preview: true title: '@TITLE@' +... definitions: NAME: panel COMMENT: PCB Panelization