Skip to content

ci: merge workflow 'large-tests' into 'test' #1984

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 2 commits into from
Mar 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 0 additions & 58 deletions .github/workflows/large-tests.yml

This file was deleted.

52 changes: 51 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
pull_request:
workflow_dispatch:
schedule:
- cron: '0 0 * * 0' # weekly
- cron: '0 0 * * *' # daily

env:
# default compiler for all non-compatibility tests
Expand All @@ -14,6 +14,56 @@ env:
jobs:


Run-tests:
# Prevents from running on forks where no custom runners are available
if: ${{ github.repository_owner == 'verilog-to-routing' }}

container: ubuntu:bionic

runs-on: [self-hosted, Linux, X64]

strategy:
fail-fast: false
matrix:
include:
- {test: "vtr_reg_nightly_test1", cores: "8", options: "", cmake: "" }
- {test: "vtr_reg_nightly_test2", cores: "16", options: "", cmake: "" }
- {test: "vtr_reg_nightly_test3", cores: "16", options: "", cmake: "" }
- {test: "vtr_reg_nightly_test4", cores: "16", options: "", cmake: "" }
- {test: "vtr_reg_strong", cores: "16", options: "", cmake: "-DVTR_ASSERT_LEVEL=3" }
- {test: "vtr_reg_strong", cores: "16", options: "-skip_qor", cmake: "-DVTR_ASSERT_LEVEL=3 -DVTR_ENABLE_SANITIZE=ON"}
- {test: "vtr_reg_yosys", cores: "16", options: "", cmake: "-DWITH_YOSYS=ON" }
- {test: "vtr_reg_yosys_odin", cores: "16", options: "", cmake: "-DODIN_USE_YOSYS=ON" }
- {test: "odin_tech_strong", cores: "16", options: "", cmake: "-DODIN_USE_YOSYS=ON" }
- {test: "odin_reg_strong", cores: "16", options: "", cmake: "" }

env:
DEBIAN_FRONTEND: "noninteractive"

steps:

- uses: actions/checkout@v2

- name: Setup
run: stdbuf -i0 -i0 -e0 ./.github/scripts/hostsetup.sh

- name: Execute test script
run: stdbuf -i0 -o0 -e0 ./.github/scripts/run-vtr.sh
env:
VTR_TEST: ${{ matrix.test }}
VTR_TEST_OPTIONS: ${{ matrix.options }}
VTR_CMAKE_PARAMS: ${{ matrix.cmake }}
NUM_CORES: ${{ matrix.cores }}

- uses: actions/upload-artifact@v2
if: ${{ always() }}
with:
path: |
**/results*.gz
**/plot_*.svg
**/qor_results*.tar.gz


Build:
name: 'B: Building VtR'
runs-on: ubuntu-18.04
Expand Down