-
Notifications
You must be signed in to change notification settings - Fork 404
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CI] Added System Verilog Regression Tests to GitHub Runners
The system verilog regression tests were put into the currently not-working nightly tests. Since they are so small, putting them in the GitHub runners tests instead so they do not regress. The strong parmys test also has system verilog tests (I think); however, that test may be too large for the GitHub runners. We may consider moving that test to the SAVI workflows in the future.
- Loading branch information
1 parent
1279554
commit 56e0afe
Showing
2 changed files
with
36 additions
and
4 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -97,7 +97,7 @@ jobs: | |
run: ./dev/${{ matrix.script }} | ||
|
||
|
||
UniTests: | ||
UnitTests: | ||
name: 'U: C++ Unit Tests' | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
|
@@ -366,6 +366,38 @@ jobs: | |
./.github/scripts/build.sh | ||
./run_reg_test.py parmys_reg_basic -show_failures -j${{ steps.cpu-cores.outputs.count }} | ||
SystemVerilog: | ||
name: 'System Verilog Regression' | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
|
||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: 3.12.3 | ||
|
||
# NOTE: This is using recursive on purpose. In order to use the System | ||
# Verilog feature, need submodules inside of a submodule. | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: 'recursive' | ||
|
||
- name: Get number of CPU cores | ||
uses: SimenB/github-actions-cpu-cores@v2 | ||
id: cpu-cores | ||
|
||
- name: Install dependencies | ||
run: ./.github/scripts/install_dependencies.sh | ||
|
||
- uses: hendrikmuhs/[email protected] | ||
|
||
- name: Test | ||
env: | ||
CMAKE_PARAMS: '-DSYNLIG_SYSTEMVERILOG=ON' | ||
NUM_PROC: ${{ steps.cpu-cores.outputs.count }} | ||
run: | | ||
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH" | ||
./.github/scripts/build.sh | ||
./run_reg_test.py vtr_reg_system_verilog -show_failures -j${{ steps.cpu-cores.outputs.count}} | ||
ODINII: | ||
name: 'ODIN-II Basic Test' | ||
|
@@ -508,11 +540,12 @@ jobs: | |
needs: | ||
- Build | ||
- Format | ||
- UniTests | ||
- UnitTests | ||
- Warnings | ||
- Regression | ||
- Sanitized | ||
- Parmys | ||
- SystemVerilog | ||
- ODINII | ||
- VQM2BLIF | ||
- Compatibility | ||
|