Skip to content

ci: Add NoC generation to CI #1

ci: Add NoC generation to CI

ci: Add NoC generation to CI #1

Workflow file for this run

# Copyright 2024 ETH Zurich and University of Bologna.
# Solderpad Hardware License, Version 0.51, see LICENSE for details.
# SPDX-License-Identifier: SHL-0.51
# Author: Tim Fischer <[email protected]>
name: floogen
on: [push, pull_request]
jobs:
#################
# Generate NoCs #
#################
gen-nocs:
runs-on: ubuntu-latest
strategy:
matrix:
examples: ["single_cluster", "occamy_mesh", "occamy_tree"]
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
- name: Install floogen
run: |
python -m pip install -e .
- name: Generate NoCs
run: |
python -m floogen -c floogen/examples/${{ matrix.examples }}.yml
- name: Format generated NoCs
uses: chipsalliance/verible-formatter-action@main
with:
files:
./generated/*.sv
github_token: ${{ secrets.GITHUB_TOKEN }}