mirror of https://github.com/VLSIDA/OpenRAM.git
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:
parent
671470f5f2
commit
7b270514e1
|
|
@ -13,13 +13,13 @@ jobs:
|
||||||
export OPENRAM_TECH="`pwd`/technology:/software/PDKs/skywater-tech"
|
export OPENRAM_TECH="`pwd`/technology:/software/PDKs/skywater-tech"
|
||||||
export OPENRAM_TMP="${{ github.workspace }}/scn4me_subm_temp"
|
export OPENRAM_TMP="${{ github.workspace }}/scn4me_subm_temp"
|
||||||
#python3-coverage run -p $OPENRAM_HOME/tests/regress.py -j 12 -t scn4m_subm
|
#python3-coverage run -p $OPENRAM_HOME/tests/regress.py -j 12 -t scn4m_subm
|
||||||
$OPENRAM_HOME/tests/regress.py -j 12 -t scn4m_subm
|
$OPENRAM_HOME/tests/regress.py -j 16 -t scn4m_subm
|
||||||
- name: Archive
|
# - name: Archive
|
||||||
if: ${{ failure() }}
|
# if: ${{ failure() }}
|
||||||
uses: actions/upload-artifact@v2
|
# uses: actions/upload-artifact@v2
|
||||||
with:
|
# with:
|
||||||
name: scn4me_subm Archives
|
# name: scn4me_subm Archives
|
||||||
path: $OPENRAM_HOME/*.zip
|
# path: ${{ github.workspace }}/scn4me_subm_temp/
|
||||||
freepdk45:
|
freepdk45:
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
steps:
|
steps:
|
||||||
|
|
@ -32,13 +32,13 @@ jobs:
|
||||||
export OPENRAM_TECH="`pwd`/technology:/software/PDKs/skywater-tech"
|
export OPENRAM_TECH="`pwd`/technology:/software/PDKs/skywater-tech"
|
||||||
export OPENRAM_TMP="${{ github.workspace }}/freepdk45_temp"
|
export OPENRAM_TMP="${{ github.workspace }}/freepdk45_temp"
|
||||||
#python3-coverage run -p $OPENRAM_HOME/tests/regress.py -j 12 -t freepdk45
|
#python3-coverage run -p $OPENRAM_HOME/tests/regress.py -j 12 -t freepdk45
|
||||||
$OPENRAM_HOME/tests/regress.py -j 12 -t freepdk45
|
$OPENRAM_HOME/tests/regress.py -j 16 -t freepdk45
|
||||||
- name: Archive
|
# - name: Archive
|
||||||
if: ${{ failure() }}
|
# if: ${{ failure() }}
|
||||||
uses: actions/upload-artifact@v2
|
# uses: actions/upload-artifact@v2
|
||||||
with:
|
# with:
|
||||||
name: FreePDK45 Archives
|
# name: FreePDK45 Archives
|
||||||
path: $OPENRAM_HOME/*.zip
|
# path: ${{ github.workspace }}/freepdk45_temp/
|
||||||
# coverage_stats:
|
# coverage_stats:
|
||||||
# if: ${{ always() }}
|
# if: ${{ always() }}
|
||||||
# needs: [scn4me_subm, freepdk45]
|
# needs: [scn4me_subm, freepdk45]
|
||||||
|
|
|
||||||
|
|
@ -49,8 +49,7 @@ class openram_back_end_test(openram_test):
|
||||||
if OPTS.tech_name:
|
if OPTS.tech_name:
|
||||||
options += " -t {}".format(OPTS.tech_name)
|
options += " -t {}".format(OPTS.tech_name)
|
||||||
|
|
||||||
if OPTS.num_threads:
|
options += " -j 2"
|
||||||
options += " -j {}".format(OPTS.num_threads)
|
|
||||||
|
|
||||||
# Always perform code coverage
|
# Always perform code coverage
|
||||||
if OPTS.coverage == 0:
|
if OPTS.coverage == 0:
|
||||||
|
|
|
||||||
|
|
@ -49,8 +49,7 @@ class openram_front_end_test(openram_test):
|
||||||
if OPTS.tech_name:
|
if OPTS.tech_name:
|
||||||
options += " -t {}".format(OPTS.tech_name)
|
options += " -t {}".format(OPTS.tech_name)
|
||||||
|
|
||||||
if OPTS.num_threads:
|
options += " -j 2"
|
||||||
options += " -j {}".format(OPTS.num_threads)
|
|
||||||
|
|
||||||
# Always perform code coverage
|
# Always perform code coverage
|
||||||
if OPTS.coverage == 0:
|
if OPTS.coverage == 0:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue