-
Notifications
You must be signed in to change notification settings - Fork 13
38 lines (34 loc) · 1.01 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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