Merge with Snitch cluster bump commit #394
This file contains 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
# Copyright 2023 ETH Zurich and University of Bologna. | |
# Licensed under the Apache License, Version 2.0, see LICENSE for details. | |
# SPDX-License-Identifier: Apache-2.0 | |
# Run functional regression checks | |
name: ci | |
on: [push, pull_request] | |
jobs: | |
######## | |
# Docs # | |
######## | |
docs: | |
name: Build documentation | |
runs-on: ubuntu-22.04 | |
container: | |
image: ghcr.io/pulp-platform/occamy:main | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build docs | |
run: | | |
bender update && bender checkout | |
mkdocs build | |
####################### | |
# Build SW for Occamy # | |
####################### | |
occamy-sw: | |
name: Build SW for Occamy | |
runs-on: ubuntu-22.04 | |
container: | |
image: ghcr.io/pulp-platform/occamy:main | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: 'recursive' | |
- name: Build Software | |
run: | | |
cd deps/snitch_cluster && pip install . | |
make -C target/sim sw | |
############################### | |
# Generate Occamy RTL sources # | |
############################### | |
occamy-rtl: | |
name: Generate Occamy RTL sources | |
runs-on: ubuntu-22.04 | |
container: | |
image: ghcr.io/pulp-platform/occamy:main | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: 'recursive' | |
- name: Generate single-cluster Occamy RTL sources | |
run: | | |
make -C target/sim CFG_OVERRIDE=cfg/single-cluster.hjson rtl |