name: ci on: [push] jobs: scn4me_subm: runs-on: self-hosted steps: - name: Check out repository uses: actions/checkout@v1 - name: SCMOS test run: | . /home/github-runner/setup-paths.sh export OPENRAM_HOME="`pwd`/compiler" export OPENRAM_TECH="`pwd`/technology:/software/PDKs/skywater-tech" export OPENRAM_TMP="`pwd`/scn4me_subm" python3-coverage run -p $OPENRAM_HOME/tests/regress.py -j 20 -k -t scn4m_subm - name: Archive uses: actions/upload-artifact@v2 with: name: scn4me_subm Archives path: $OPENRAM_TMP/ freepdk45: runs-on: self-hosted steps: - name: Check out repository uses: actions/checkout@v1 - name: FreePDK45 test run: | . /home/github-runner/setup-paths.sh export OPENRAM_HOME="`pwd`/compiler" export OPENRAM_TECH="`pwd`/technology:/software/PDKs/skywater-tech" export OPENRAM_TMP="`pwd`/freepdk45" python3-coverage run -p $OPENRAM_HOME/tests/regress.py -j 20 -k -t freepdk45 - name: Archive uses: actions/upload-artifact@v2 with: name: FreePDK45 Archives path: $OPENRAM_TMP/ coverage: needs: [scn4me_subm, freepdk45] runs-on: self-hosted steps: - name: Coverage stats run: | python3-coverage combine python3-coverage report python3-coverage html -d coverage_html - name: Archive coverage uses: actions/upload-artifact@v2 with: name: code-coverage-report path: coverage_html/