Skip to content

dev ci

dev ci #8

Workflow file for this run

name: CI checks
on:
pull_request:
branches: ['main']
#paths:
# - '*.kicad_pcb'
workflow_dispatch:
jobs:
check-board-images:
runs-on: ubuntu-latest
container:
image: kicad/kicad:nightly
options: --user root
steps:
- uses: actions/checkout@v4
- name: Install pre-requirement
run: sudo apt update && sudo apt install -y libnng1
- name: list dirs
run: pwd && ls -la
- name: Generate top image
run: exit 0 || kicad-cli pcb render --quality high --side top -o top.jpg board_53.kicad_pcb
- name: Generate bottom image
run: exit 0 || kicad-cli pcb render --quality high --side bottom -o bottom.jpg board_53.kicad_pcb
- name: Check if images differ
run: pwd && ls -la && git config --global --add safe.directory $(pwd) && git status