chirpotle: Update flash command to spot missing firemware argument #26
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
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 |