Skip to content

Commit

Permalink
Towards Release
Browse files Browse the repository at this point in the history
  • Loading branch information
thommythomaso committed Oct 2, 2023
1 parent 5ac969c commit c0c5dca
Show file tree
Hide file tree
Showing 180 changed files with 4,698 additions and 9,172 deletions.
5 changes: 3 additions & 2 deletions .ci/gitlab-ci.yml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
# Solderpad Hardware License, Version 0.51, see LICENSE for details.
# SPDX-License-Identifier: SHL-0.51

# Author: Thomas Benz <tbenz@iis.ee.ethz.ch>
# Authors:
# - Thomas Benz <tbenz@iis.ee.ethz.ch>

variables:
SPHINXBUILD: "/home/tbenz/.local/bin/sphinx-build"
Expand All @@ -22,7 +23,7 @@ prepare-non-free:
script:
- git clone [email protected]:bslk/idma/idma-non-free.git
- cd idma-non-free
- git checkout tsenti
- git checkout deploy-mdma
- make -B gen_sub_ci
artifacts:
paths:
Expand Down
13 changes: 13 additions & 0 deletions .github/verible.waiver
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Copyright 2023 ETH Zurich and University of Bologna.
# Solderpad Hardware License, Version 0.51, see LICENSE for details.
# SPDX-License-Identifier: SHL-0.51

# Authors:
# - Thomas Benz <[email protected]>

# Fix this ...
waive --rule=line-length --location="src/frontends/desc64/idma_desc64_top.sv"

# Declare zero-based big-endian unpacked dimensions sized as [N] -> legacy PULP code :S
waive --rule=unpacked-dimensions-range-ordering --location="src/systems/pulpopen/dmac_wrap.sv"
waive --rule=line-length --location="src/systems/pulpopen/dmac_wrap.sv"
66 changes: 66 additions & 0 deletions .github/workflows/analyze.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# 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

# Authors:
# - Paul Scheffler <[email protected]>
# - Thomas Benz <[email protected]>

name: analyze

on: [ push, pull_request, workflow_dispatch ]

jobs:

analyze-contributors:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Install Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
cache: 'pip'
-
name: Python Requirements
run: pip install -r requirements.txt
-
name: List contributors
run: scripts/list-contributors | tee contributions.txt
-
name: Upload contributions.txt
uses: actions/upload-artifact@v2
with:
name: contributions
path: contributions.txt
retention-days: 7

analyze-todos:
runs-on: ubuntu-latest
continue-on-error: true
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Install Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
cache: 'pip'
-
name: Python Requirements
run: pip install -r requirements.txt
-
name: List todos
run: scripts/list-todos | tee open_todos.txt
-
name: Upload todos.txt
uses: actions/upload-artifact@v2
with:
name: open_todos
path: open_todos.txt
retention-days: 7
68 changes: 68 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# 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

# Authors:
# - Paul Scheffler <[email protected]>
# - Thomas Benz <[email protected]>

name: build

on: [ push, pull_request, workflow_dispatch ]

jobs:

build:
strategy:
matrix:
target: [rtl, doc]
fail-fast: false
runs-on: ubuntu-22.04
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Install Python
uses: actions/setup-python@v2
with:
python-version: 3.9
cache: pip
-
name: Install Python requirements
run: pip install -r requirements.txt
-
name: Setup Graphviz
uses: ts-graphviz/setup-graphviz@v1
-
name: Install RISC-V GCC toolchain
uses: pulp-platform/pulp-actions/riscv-gcc-install@v2
with:
distro: ubuntu-22.04
nightly-date: '2023.03.14'
target: riscv64-elf
-
name: Install Bender
uses: pulp-platform/pulp-actions/bender-install@v2
with:
version: 0.27.3
-
name: Install Morty
run: |
curl --proto '=https' --tlsv1.2 -sLO https://github.com/pulp-platform/morty/releases/download/v0.9.0/morty-ubuntu.22.04-x86_64.tar.gz
tar -xvf morty-ubuntu.22.04-x86_64.tar.gz morty
rm -f morty-ubuntu.22.04-x86_64.tar.gz
chmod 777 morty
echo "PATH=.:$PATH" >> ${GITHUB_ENV}
-
name: Check clean
run: make idma_clean_all
-
name: Check whether clean
run: git status && test -z "$(git status --porcelain --ignore-submodules)"
-
name: Build target
run: make -j9 idma_${{ matrix.target }}_all
-
name: Check whether stale
run: git status && test -z "$(git status --porcelain --ignore-submodules)"
207 changes: 0 additions & 207 deletions .github/workflows/ci.yml

This file was deleted.

Loading

0 comments on commit c0c5dca

Please sign in to comment.