Upgrade to KiCad 8.0 #14
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
# SPDX-FileCopyrightText: 2022 Joonas Javanainen <[email protected]> | |
# | |
# SPDX-License-Identifier: CC0-1.0 | |
name: ci | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
env: | |
UTILS_SHA: 1442dfe8e5784553e857591de24e7c6629bd0aea | |
jobs: | |
klc_check: | |
name: Run KLC checks | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Checkout kicad-library-utils | |
run: | | |
git clone --depth 1 https://gitlab.com/kicad/libraries/kicad-library-utils.git | |
cd kicad-library-utils | |
git fetch --depth 1 origin $UTILS_SHA | |
git checkout $UTILS_SHA | |
- name: Check symbols | |
run: kicad-library-utils/klc-check/check_symbol.py -v *.kicad_sym | |
- name: Check footprints | |
run: kicad-library-utils/klc-check/check_footprint.py -v *.pretty/*.kicad_mod || true |