mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2024-10-01 01:45:38 -04:00
CI: add build of fpga with SPI-master
This commit is contained in:
parent
cb0117c449
commit
7b4a659868
21
.github/workflows/ci.yaml
vendored
21
.github/workflows/ci.yaml
vendored
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user