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]
|
on: [push]
|
||||||
jobs:
|
jobs:
|
||||||
coverage_cleanup:
|
coverage_cleanup:
|
||||||
if: ${{ always() }}
|
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
steps:
|
steps:
|
||||||
- name: Coverage cleanup
|
- name: Coverage cleanup
|
||||||
run: |
|
run: |
|
||||||
|
echo "Cleaning up previous run"
|
||||||
|
rm -rf "${{ github.workspace }}"
|
||||||
python3-coverage erase
|
python3-coverage erase
|
||||||
scn4me_subm:
|
scn4me_subm:
|
||||||
needs: [coverage_cleaup]
|
needs: [coverage_cleaup]
|
||||||
|
|
@ -20,8 +21,7 @@ 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="${{ github.workspace }}/scn4me_subm"
|
export OPENRAM_TMP="${{ github.workspace }}/scn4me_subm"
|
||||||
rm -rf $OPENRAM_TMP
|
python3-coverage run -p $OPENRAM_HOME/tests/regress.py -j 16 -t scn4m_subm
|
||||||
python3-coverage run -p $OPENRAM_HOME/tests/regress.py -j 20 -t scn4m_subm
|
|
||||||
- name: Archive
|
- name: Archive
|
||||||
if: ${{ failure() }}
|
if: ${{ failure() }}
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
|
|
@ -40,8 +40,7 @@ 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="${{ github.workspace }}/freepdk45"
|
export OPENRAM_TMP="${{ github.workspace }}/freepdk45"
|
||||||
rm -rf $OPENRAM_TMP
|
python3-coverage run -p $OPENRAM_HOME/tests/regress.py -j 16 -t freepdk45
|
||||||
python3-coverage run -p $OPENRAM_HOME/tests/regress.py -j 20 -t freepdk45
|
|
||||||
- name: Archive
|
- name: Archive
|
||||||
if: ${{ failure() }}
|
if: ${{ failure() }}
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue