Build using ASxxxx 5.50 #52
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
name: Run all tests | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install asxxxx | |
run: | | |
wget --no-verbose https://github.com/6502org/6502.org/raw/74f5d0c0f9b73d5e353bde7b3b25ea7f43b527a1/public/tools/asm/asxs5p50.zip | |
unzip -q asxs5p50.zip | |
make -C asxv5pxx/asxmak/linux/build all | |
echo "$PWD/asxv5pxx/asxmak/linux/build" >> $GITHUB_PATH | |
- name: Install srecord | |
run: sudo apt-get install srecord | |
- name: Build the firmware (Attiny212 version) | |
run: | | |
make -C firmware/ MCU=t212 | |
cat firmware/redundant12v_t212_flash.lst | |
cat firmware/redundant12v_t212_fuses.lst | |
- name: Build the firmware (Attiny412 version) | |
run: | | |
make -C firmware/ MCU=t412 | |
cat firmware/redundant12v_t412_flash.lst | |
cat firmware/redundant12v_t412_fuses.lst | |
- name: 'Upload build artifacts' | |
uses: actions/upload-artifact@v3 | |
with: | |
name: build-artifacts | |
path: | | |
firmware/redundant12v_*_flash.* | |
firmware/redundant12v_*_fuses.* |