Skip to content

Create FUNDING.yml

Create FUNDING.yml #32

Workflow file for this run

name: Build
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-22.04
env:
KICAD_LIBRARY: /home/runner/work/LoRa-GPS-Tracker/LoRa-GPS-Tracker/LoRa-GPS-Tracker/library
strategy:
matrix:
device_type: [Debug, Full, Minimal]
steps:
- name: Checkout
uses: actions/checkout@v3
with:
path: LoRa-GPS-Tracker
submodules: recursive
- name: Dependencies
run: |
wget https://github.com/INTI-CMNB/KiBot/releases/download/v1.6.3/kibot_1.6.3-1_all.deb
sudo apt install ./kibot*_all.deb
wget https://github.com/INTI-CMNB/InteractiveHtmlBom/releases/download/v2.7.0-1/interactivehtmlbom.inti-cmnb_2.7.0-1_all.deb
sudo apt install ./interactivehtmlbom.inti-cmnb_2.7.0-1_all.deb
wget https://github.com/INTI-CMNB/KiAuto/releases/download/v2.2.8/kiauto_2.2.8-1_all.deb
sudo apt install ./kiauto_2.2.8-1_all.deb
sudo add-apt-repository --yes ppa:kicad/kicad-7.0-releases
sudo apt update
sudo apt install --install-recommends kicad
- name: Initialize
working-directory: LoRa-GPS-Tracker
run: |
mkdir production
git clone https://github.com/Kampi/KiCad.git library
cd library
echo ${PWD}
- name: Generate files
run: |
cd LoRa-GPS-Tracker/project
kibot -g variant=${{ matrix.device_type }} -d ../production/${{ matrix.device_type }}
- name: Upload Results
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.device_type }}
path: |
LoRa-GPS-Tracker/production
if-no-files-found: ignore