Skip to content

Merge pull request #11 from leinher/leinher/main #31

Merge pull request #11 from leinher/leinher/main

Merge pull request #11 from leinher/leinher/main #31

Workflow file for this run

name: Test Installation and Firmware Build
on:
push:
branches:
- main
pull_request:
branches:
- '*'
jobs:
test-install-deploy-run:
strategy:
matrix:
os: [ubuntu-22.04, ubuntu-20.04]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Configure Python 3.9
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Add known dependencies
# Only _explicit_ dependencies, which chirpotle.sh will show as "quick fixes" if you miss them,
# to make sure we're not missing dependencies.
run: |
sudo apt update
sudo apt install -y python3 python3-pip python3-venv
- name: Installation
run: ./chirpotle.sh install
- name: Build all firmwares
run: ./chirpotle.sh deploy --conf default --build-all
- name: Try scripting mode
run: ./chirpotle.sh run --conf default .github/test-script.py