Fix for #24 - Update devlogs link in README.md (#25) #55
This file contains hidden or 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: 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* |