Added packager to the top level rtl #1018
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
name: Check | |
on: [push] | |
jobs: | |
svlint: | |
name: Verilog Compilation and Style | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Create Build Directory | |
run: mkdir build | |
- name: Install verilator and dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y --no-install-recommends \ | |
verilator \ | |
moreutils | |
- name: Check verilator installed | |
run: verilator --version | |
- name: Download svlint | |
run: wget -O build/svlint.zip https://github.com/dalance/svlint/releases/download/v0.9.2/svlint-v0.9.2-x86_64-lnx.zip | |
- name: Install svlint | |
run: | | |
unzip build/svlint.zip -d build | |
echo "${PWD}/build/bin" >> $GITHUB_PATH | |
- name: Check svlint installed | |
run: svlint --version | |
- name: Lint files | |
run: make lint | |
- name: Lint with Verible | |
uses: chipsalliance/verible-linter-action@main | |
with: | |
config_file: '.verible-lint' | |
paths: | | |
./src | |
extra_args: "--waiver_files=.verible-waiver" | |
verible_version: "v0.0-3410-g398a8505" | |
reviewdog_reporter: local | |
- name: Cleanup | |
run: rm -r build | |
black: | |
name: Python Style | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Run Black | |
uses: psf/[email protected] | |
with: | |
options: "--check --verbose" | |
src: "./src" | |