CI: add build of fpga with SPI-master

This commit is contained in:
Daniel Jobson 2024-07-09 10:59:27 +02:00
parent cb0117c449
commit 7b4a659868
No known key found for this signature in database
GPG Key ID: 3707A9DBF4BB8F1A

View File

@ -1,4 +1,3 @@
name: ci
on:
@ -85,6 +84,26 @@ jobs:
working-directory: hw/boards/tp1/firmware
run: ./build.sh
build-spi-bitstream:
runs-on: ubuntu-latest
container:
image: ghcr.io/tillitis/tkey-builder:4
steps:
- name: checkout
uses: actions/checkout@v4
with:
# fetch-depth: 0
persist-credentials: false
- name: fix
# https://github.com/actions/runner-images/issues/6775
run: |
git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: make application FPGA with SPI master
working-directory: hw/application_fpga
run: make application_fpga.bin YOSYS_FLAG=-DINCLUDE_SPI_MASTER
build-bitstream:
outputs:
commit_sha: ${{ github.sha }}