Improve bootloader README #4
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: X16 SMC bootloader build | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.9' | |
- name: Install build enviroment | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y make build-essential | |
git clone https://github.com/Ro5bert/avra.git | |
cd avra | |
make | |
sudo make install | |
cd .. | |
- name: Install IntelHex library | |
run: pip install intelhex | |
- name: Compile bootloader | |
run: | | |
make | |
- name: Archive bootloader | |
uses: actions/upload-artifact@v4 | |
with: | |
name: SMC bootloader | |
path: | | |
build/bootloader.hex | |
build/bootloader.bin |