mirror of https://github.com/VLSIDA/OpenRAM.git
Update workflow syntax
This commit is contained in:
parent
ab0b9ca37b
commit
59915962a0
|
|
@ -2,11 +2,12 @@ name: ci
|
|||
on: [push]
|
||||
jobs:
|
||||
coverage_cleanup:
|
||||
if: ${{ always() }}
|
||||
runs-on: self-hosted
|
||||
steps:
|
||||
- name: Coverage cleanup
|
||||
run: |
|
||||
echo "Cleaning up previous run"
|
||||
rm -rf "${{ github.workspace }}"
|
||||
python3-coverage erase
|
||||
scn4me_subm:
|
||||
needs: [coverage_cleaup]
|
||||
|
|
@ -20,8 +21,7 @@ jobs:
|
|||
export OPENRAM_HOME="`pwd`/compiler"
|
||||
export OPENRAM_TECH="`pwd`/technology:/software/PDKs/skywater-tech"
|
||||
export OPENRAM_TMP="${{ github.workspace }}/scn4me_subm"
|
||||
rm -rf $OPENRAM_TMP
|
||||
python3-coverage run -p $OPENRAM_HOME/tests/regress.py -j 20 -t scn4m_subm
|
||||
python3-coverage run -p $OPENRAM_HOME/tests/regress.py -j 16 -t scn4m_subm
|
||||
- name: Archive
|
||||
if: ${{ failure() }}
|
||||
uses: actions/upload-artifact@v2
|
||||
|
|
@ -40,8 +40,7 @@ jobs:
|
|||
export OPENRAM_HOME="`pwd`/compiler"
|
||||
export OPENRAM_TECH="`pwd`/technology:/software/PDKs/skywater-tech"
|
||||
export OPENRAM_TMP="${{ github.workspace }}/freepdk45"
|
||||
rm -rf $OPENRAM_TMP
|
||||
python3-coverage run -p $OPENRAM_HOME/tests/regress.py -j 20 -t freepdk45
|
||||
python3-coverage run -p $OPENRAM_HOME/tests/regress.py -j 16 -t freepdk45
|
||||
- name: Archive
|
||||
if: ${{ failure() }}
|
||||
uses: actions/upload-artifact@v2
|
||||
|
|
|
|||
Loading…
Reference in New Issue