Update multithreaded regression.

Only do 2 threads for 30 tests.
Don't archive results since they are purged anyways.
16 threads for regression.
Purge temp during regression.
This commit is contained in:
mrg 2021-03-22 15:51:07 -07:00
parent 671470f5f2
commit 7b270514e1
3 changed files with 16 additions and 18 deletions

View File

@ -13,13 +13,13 @@ jobs:
export OPENRAM_TECH="`pwd`/technology:/software/PDKs/skywater-tech"
export OPENRAM_TMP="${{ github.workspace }}/scn4me_subm_temp"
#python3-coverage run -p $OPENRAM_HOME/tests/regress.py -j 12 -t scn4m_subm
$OPENRAM_HOME/tests/regress.py -j 12 -t scn4m_subm
- name: Archive
if: ${{ failure() }}
uses: actions/upload-artifact@v2
with:
name: scn4me_subm Archives
path: $OPENRAM_HOME/*.zip
$OPENRAM_HOME/tests/regress.py -j 16 -t scn4m_subm
# - name: Archive
# if: ${{ failure() }}
# uses: actions/upload-artifact@v2
# with:
# name: scn4me_subm Archives
# path: ${{ github.workspace }}/scn4me_subm_temp/
freepdk45:
runs-on: self-hosted
steps:
@ -32,13 +32,13 @@ jobs:
export OPENRAM_TECH="`pwd`/technology:/software/PDKs/skywater-tech"
export OPENRAM_TMP="${{ github.workspace }}/freepdk45_temp"
#python3-coverage run -p $OPENRAM_HOME/tests/regress.py -j 12 -t freepdk45
$OPENRAM_HOME/tests/regress.py -j 12 -t freepdk45
- name: Archive
if: ${{ failure() }}
uses: actions/upload-artifact@v2
with:
name: FreePDK45 Archives
path: $OPENRAM_HOME/*.zip
$OPENRAM_HOME/tests/regress.py -j 16 -t freepdk45
# - name: Archive
# if: ${{ failure() }}
# uses: actions/upload-artifact@v2
# with:
# name: FreePDK45 Archives
# path: ${{ github.workspace }}/freepdk45_temp/
# coverage_stats:
# if: ${{ always() }}
# needs: [scn4me_subm, freepdk45]

View File

@ -49,8 +49,7 @@ class openram_back_end_test(openram_test):
if OPTS.tech_name:
options += " -t {}".format(OPTS.tech_name)
if OPTS.num_threads:
options += " -j {}".format(OPTS.num_threads)
options += " -j 2"
# Always perform code coverage
if OPTS.coverage == 0:

View File

@ -49,8 +49,7 @@ class openram_front_end_test(openram_test):
if OPTS.tech_name:
options += " -t {}".format(OPTS.tech_name)
if OPTS.num_threads:
options += " -j {}".format(OPTS.num_threads)
options += " -j 2"
# Always perform code coverage
if OPTS.coverage == 0: