mirror of https://github.com/VLSIDA/OpenRAM.git
Only upload archive on failure, always do coverage check.
This commit is contained in:
parent
d236f78718
commit
b57487f5e5
|
|
@ -12,8 +12,9 @@ jobs:
|
||||||
export OPENRAM_HOME="`pwd`/compiler"
|
export OPENRAM_HOME="`pwd`/compiler"
|
||||||
export OPENRAM_TECH="`pwd`/technology:/software/PDKs/skywater-tech"
|
export OPENRAM_TECH="`pwd`/technology:/software/PDKs/skywater-tech"
|
||||||
export OPENRAM_TMP="`pwd`/scn4me_subm"
|
export OPENRAM_TMP="`pwd`/scn4me_subm"
|
||||||
python3-coverage run -p $OPENRAM_HOME/tests/regress.py -j 20 -k -t scn4m_subm
|
python3-coverage run -p $OPENRAM_HOME/tests/regress.py -j 20 -t scn4m_subm
|
||||||
- name: Archive
|
- name: Archive
|
||||||
|
if: ${{ failure() }}
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: scn4me_subm Archives
|
name: scn4me_subm Archives
|
||||||
|
|
@ -29,13 +30,15 @@ jobs:
|
||||||
export OPENRAM_HOME="`pwd`/compiler"
|
export OPENRAM_HOME="`pwd`/compiler"
|
||||||
export OPENRAM_TECH="`pwd`/technology:/software/PDKs/skywater-tech"
|
export OPENRAM_TECH="`pwd`/technology:/software/PDKs/skywater-tech"
|
||||||
export OPENRAM_TMP="`pwd`/freepdk45"
|
export OPENRAM_TMP="`pwd`/freepdk45"
|
||||||
python3-coverage run -p $OPENRAM_HOME/tests/regress.py -j 20 -k -t freepdk45
|
python3-coverage run -p $OPENRAM_HOME/tests/regress.py -j 20 -t freepdk45
|
||||||
- name: Archive
|
- name: Archive
|
||||||
|
if: ${{ failure() }}
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: FreePDK45 Archives
|
name: FreePDK45 Archives
|
||||||
path: $OPENRAM_TMP/
|
path: $OPENRAM_TMP/
|
||||||
coverage:
|
coverage:
|
||||||
|
if: ${{ always() }}
|
||||||
needs: [scn4me_subm, freepdk45]
|
needs: [scn4me_subm, freepdk45]
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
steps:
|
steps:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue