mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-02-10 20:08:33 -05:00
CI: add build of fpga with SPI-master
This commit is contained in:
parent
3a2d52d539
commit
5442e90336
21
.github/workflows/ci.yaml
vendored
21
.github/workflows/ci.yaml
vendored
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
name: ci
|
name: ci
|
||||||
|
|
||||||
on:
|
on:
|
||||||
@ -85,6 +84,26 @@ jobs:
|
|||||||
working-directory: hw/boards/tp1/firmware
|
working-directory: hw/boards/tp1/firmware
|
||||||
run: ./build.sh
|
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:
|
build-bitstream:
|
||||||
outputs:
|
outputs:
|
||||||
commit_sha: ${{ github.sha }}
|
commit_sha: ${{ github.sha }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user