|
14 | 14 | jobs:
|
15 | 15 |
|
16 | 16 |
|
| 17 | + Run-tests: |
| 18 | + container: ubuntu:bionic |
| 19 | + |
| 20 | + runs-on: [self-hosted, Linux, X64] |
| 21 | + |
| 22 | + strategy: |
| 23 | + fail-fast: false |
| 24 | + matrix: |
| 25 | + include: |
| 26 | + - {test: "vtr_reg_nightly_test1", cores: "8", options: "", cmake: "" } |
| 27 | + - {test: "vtr_reg_nightly_test2", cores: "16", options: "", cmake: "" } |
| 28 | + - {test: "vtr_reg_nightly_test3", cores: "16", options: "", cmake: "" } |
| 29 | + - {test: "vtr_reg_nightly_test4", cores: "16", options: "", cmake: "" } |
| 30 | + - {test: "vtr_reg_strong", cores: "16", options: "", cmake: "-DVTR_ASSERT_LEVEL=3" } |
| 31 | + - {test: "vtr_reg_strong", cores: "16", options: "-skip_qor", cmake: "-DVTR_ASSERT_LEVEL=3 -DVTR_ENABLE_SANITIZE=ON"} |
| 32 | + - {test: "vtr_reg_yosys", cores: "16", options: "", cmake: "-DWITH_YOSYS=ON" } |
| 33 | + - {test: "vtr_reg_yosys_odin", cores: "16", options: "", cmake: "-DODIN_USE_YOSYS=ON" } |
| 34 | + - {test: "odin_tech_strong", cores: "16", options: "", cmake: "-DODIN_USE_YOSYS=ON" } |
| 35 | + - {test: "odin_reg_strong", cores: "16", options: "", cmake: "" } |
| 36 | + |
| 37 | + env: |
| 38 | + DEBIAN_FRONTEND: "noninteractive" |
| 39 | + |
| 40 | + steps: |
| 41 | + |
| 42 | + - uses: actions/checkout@v2 |
| 43 | + |
| 44 | + - name: Setup |
| 45 | + run: stdbuf -i0 -i0 -e0 ./.github/scripts/hostsetup.sh |
| 46 | + |
| 47 | + - name: Execute test script |
| 48 | + run: stdbuf -i0 -o0 -e0 ./.github/scripts/run-vtr.sh |
| 49 | + env: |
| 50 | + VTR_TEST: ${{ matrix.test }} |
| 51 | + VTR_TEST_OPTIONS: ${{ matrix.options }} |
| 52 | + VTR_CMAKE_PARAMS: ${{ matrix.cmake }} |
| 53 | + NUM_CORES: ${{ matrix.cores }} |
| 54 | + |
| 55 | + - uses: actions/upload-artifact@v2 |
| 56 | + if: ${{ always() }} |
| 57 | + with: |
| 58 | + path: | |
| 59 | + **/results*.gz |
| 60 | + **/plot_*.svg |
| 61 | + **/qor_results*.tar.gz |
| 62 | +
|
| 63 | +
|
17 | 64 | Build:
|
18 | 65 | name: 'B: Building VtR'
|
19 | 66 | runs-on: ubuntu-18.04
|
|
0 commit comments