Skip to content

Fix for #24 - Update devlogs link in README.md (#25) #55

Fix for #24 - Update devlogs link in README.md (#25)

Fix for #24 - Update devlogs link in README.md (#25) #55

Workflow file for this run

name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 5
strategy:
matrix:
device: ['longan-nano', 'longan-nano-lite']
steps:
- uses: actions/checkout@v3
- name: Update APT repos
run: sudo apt-get update
- name: Install RISC-V build dependencies
run: sudo apt-get install build-essential binutils-riscv64-unknown-elf gcc-riscv64-unknown-elf
- name: Build the FiveForths firmware binary for ${{matrix.device}}
run: make ${{matrix.device}}
- name: Rename firmware binary file
run: mv fiveforths.bin fiveforths-${{matrix.device}}.bin
- name: Obtain SHA256 hash of the firmware
run: sha256sum fiveforths-${{matrix.device}}.bin > fiveforths-${{matrix.device}}.bin.sha256
- uses: actions/upload-artifact@v3
with:
name: fiveforths-firmware-${{matrix.device}}
path: fiveforths-${{matrix.device}}.bin*