|
97 | 97 | run: ./dev/${{ matrix.script }}
|
98 | 98 |
|
99 | 99 |
|
100 |
| - UniTests: |
| 100 | + UnitTests: |
101 | 101 | name: 'U: C++ Unit Tests'
|
102 | 102 | runs-on: ubuntu-24.04
|
103 | 103 | steps:
|
@@ -366,6 +366,40 @@ jobs:
|
366 | 366 | ./.github/scripts/build.sh
|
367 | 367 | ./run_reg_test.py parmys_reg_basic -show_failures -j${{ steps.cpu-cores.outputs.count }}
|
368 | 368 |
|
| 369 | + SystemVerilog: |
| 370 | + name: 'System Verilog Regression' |
| 371 | + runs-on: ubuntu-24.04 |
| 372 | + steps: |
| 373 | + |
| 374 | + - uses: actions/setup-python@v5 |
| 375 | + with: |
| 376 | + python-version: 3.12.3 |
| 377 | + |
| 378 | + # NOTE: This is using recursive on purpose. In order to use the System |
| 379 | + # Verilog feature, need submodules inside of a submodule. |
| 380 | + - uses: actions/checkout@v4 |
| 381 | + with: |
| 382 | + submodules: 'recursive' |
| 383 | + |
| 384 | + - name: Get number of CPU cores |
| 385 | + uses: SimenB/github-actions-cpu-cores@v2 |
| 386 | + id: cpu-cores |
| 387 | + |
| 388 | + - name: Install dependencies |
| 389 | + run: ./.github/scripts/install_dependencies.sh |
| 390 | + |
| 391 | + - uses: hendrikmuhs/[email protected] |
| 392 | + |
| 393 | + - name: Test |
| 394 | + env: |
| 395 | + CMAKE_PARAMS: '-DSYNLIG_SYSTEMVERILOG=ON' |
| 396 | + NUM_PROC: ${{ steps.cpu-cores.outputs.count }} |
| 397 | + run: | |
| 398 | + git submodule sync --recursive # Sync submodules |
| 399 | + git submodule update --init --recursive # Ensure they are initialized & updated' |
| 400 | + export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH" |
| 401 | + ./.github/scripts/build.sh |
| 402 | + ./run_reg_test.py vtr_reg_system_verilog -show_failures -j${{ steps.cpu-cores.outputs.count}} |
369 | 403 |
|
370 | 404 | ODINII:
|
371 | 405 | name: 'ODIN-II Basic Test'
|
@@ -508,11 +542,12 @@ jobs:
|
508 | 542 | needs:
|
509 | 543 | - Build
|
510 | 544 | - Format
|
511 |
| - - UniTests |
| 545 | + - UnitTests |
512 | 546 | - Warnings
|
513 | 547 | - Regression
|
514 | 548 | - Sanitized
|
515 | 549 | - Parmys
|
| 550 | + - SystemVerilog |
516 | 551 | - ODINII
|
517 | 552 | - VQM2BLIF
|
518 | 553 | - Compatibility
|
|
0 commit comments