diff options
| author | Warrick Lo <wlo@warricklo.net> | 2026-07-07 06:01:17 +0000 |
|---|---|---|
| committer | Warrick Lo <wlo@warricklo.net> | 2026-07-07 06:01:17 +0000 |
| commit | 6c24f49f3239c79173fd180d065f8f03cfaeabfd (patch) | |
| tree | 4ac1ebc964784b655cda35de979331196b19a3c2 /.github/workflows | |
| parent | Merge branch 'feature/fu' from MyDariell (diff) | |
| parent | Add DCO [skip ci] (diff) | |
| download | montreal-6c24f49f3239c79173fd180d065f8f03cfaeabfd.tar.xz montreal-6c24f49f3239c79173fd180d065f8f03cfaeabfd.zip | |
Sync with 'master'feature/fu
Signed-off-by: Warrick Lo <wlo@warricklo.net>
Diffstat (limited to '')
| -rw-r--r-- | .github/workflows/format.yaml | 11 | ||||
| -rw-r--r-- | .github/workflows/lint.yaml | 16 | ||||
| -rw-r--r-- | .github/workflows/test.yaml | 22 |
3 files changed, 37 insertions, 12 deletions
diff --git a/.github/workflows/format.yaml b/.github/workflows/format.yaml index fbef4a8..1c32511 100644 --- a/.github/workflows/format.yaml +++ b/.github/workflows/format.yaml @@ -5,8 +5,11 @@ on: [pull_request] jobs: format: runs-on: ubuntu-latest + permissions: + contents: read + pull-requests: write steps: - - uses: actions/checkout@master - - uses: chipsalliance/verible-formatter-action@main - with: - github_token: ${{ secrets.GITHUB_TOKEN }} + - uses: actions/checkout@master + - uses: chipsalliance/verible-formatter-action@main + with: + github_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 94ad728..91424ca 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -6,11 +6,11 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@master - - uses: chipsalliance/verible-linter-action@main - with: - config_file: "lint.rules" - github_token: ${{ secrets.GITHUB_TOKEN }} - - name: Fail on lint errors - run: | - verible-verilog-lint --lint_fatal=true --rules_config=lint.rules $(find . -name "*.sv" -o -name "*.v") + - uses: actions/checkout@master + - uses: chipsalliance/verible-linter-action@main + with: + config_file: "lint.rules" + github_token: ${{ secrets.GITHUB_TOKEN }} + - name: Fail on lint errors + run: | + verible-verilog-lint --lint_fatal=true --rules_config=lint.rules $(find . -name "*.sv" -o -name "*.v") diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml new file mode 100644 index 0000000..ee45561 --- /dev/null +++ b/.github/workflows/test.yaml @@ -0,0 +1,22 @@ +name: Test + +on: [push, pull_request] + +jobs: + formal: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - uses: YosysHQ/setup-oss-cad-suite@v4 + - name: Run test + shell: bash + run: | + sby -f dv/formal/regfile/regfile.sby + - name: Upload artifacts + uses: actions/upload-artifact@v7 + with: + name: formal-verification + path: | + dv/formal/regfile/regfile_bmc/* + dv/formal/regfile/regfile_cover/* + dv/formal/regfile/regfile_prove/* |