-
Notifications
You must be signed in to change notification settings - Fork 415
Add initial nightly test workflow #2873
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,71 @@ | ||
name: NightlyTestManual | ||
|
||
# This workflow can only be dispatched. | ||
on: | ||
workflow_dispatch: | ||
|
||
# We want to cancel previous runs for a given PR or branch / ref if another CI | ||
# run is requested. | ||
# See: https://docs.github.com/en/actions/using-jobs/using-concurrency | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
cancel-in-progress: true | ||
|
||
env: | ||
# default compiler for all non-compatibility tests | ||
MATRIX_EVAL: "CC=gcc-11 && CXX=g++-11" | ||
|
||
jobs: | ||
Run-tests: | ||
# Prevents from running on forks where no custom runners are available | ||
if: ${{ github.repository_owner == 'verilog-to-routing' }} | ||
|
||
name: 'Nightly Tests Manual Run' | ||
# This workflow is expected to take around 19 hours. Giving it 24 hours | ||
# before timing out. | ||
timeout-minutes: 1440 | ||
runs-on: [self-hosted, Linux, X64, SAVI] | ||
|
||
steps: | ||
# Clean previous runs of this workflow. | ||
- name: 'Cleanup build folder' | ||
run: | | ||
rm -rf ./* || true | ||
rm -rf ./.??* || true | ||
|
||
# Checkout the VTR repo. | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: 'true' | ||
|
||
# Get the extra benchmarks | ||
- name: 'Get Extra Benchmarks' | ||
run: | | ||
make get_titan_benchmarks | ||
make get_ispd_benchmarks | ||
./dev/upgrade_vtr_archs.sh | ||
make get_symbiflow_benchmarks | ||
|
||
# Build VTR using the default build options. | ||
- name: 'Build VTR' | ||
run: | | ||
make -j12 | ||
make env | ||
source .venv/bin/activate | ||
pip install -r requirements.txt | ||
|
||
# Run all of the nightly tests. | ||
# TODO: We could expose more parallelism if we had one task list which ran | ||
# all of these. | ||
- name: 'Run Nightly Tests' | ||
run: | | ||
source .venv/bin/activate | ||
./run_reg_test.py -j12 \ | ||
vtr_reg_nightly_test1 \ | ||
vtr_reg_nightly_test2 \ | ||
vtr_reg_nightly_test3 \ | ||
vtr_reg_nightly_test4 \ | ||
vtr_reg_nightly_test5 \ | ||
vtr_reg_nightly_test6 \ | ||
vtr_reg_nightly_test7 | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this needs to be GCC 13. This was a leftover before I upgraded the CI to Ubuntu 24.04.