Fix fx2tool --bootloader #14
Workflow file for this run
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
on: | |
push: {} | |
pull_request: | |
types: [opened, reopened, synchronize] | |
name: CI | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out source code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.7' | |
- name: Install dependencies | |
run: | | |
sudo apt-get install sdcc | |
- name: Build firmware | |
run: | | |
make -C firmware CFLAGS=--Werror | |
- name: Build examples | |
run: | | |
make -C examples CFLAGS=--Werror | |
- name: Build Python package | |
run: | | |
pip install ./software |