Update workflow syntax

This commit is contained in:
mrg 2021-03-01 10:19:36 -08:00
parent ab0b9ca37b
commit 59915962a0
1 changed files with 4 additions and 5 deletions

View File

@ -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